]> sigrok.org Git - libsigrokdecode.git/commit
uart: Fix corner-case that can occur with LA triggers.
authorUwe Hermann <redacted>
Wed, 11 Sep 2013 17:20:15 +0000 (19:20 +0200)
committerUwe Hermann <redacted>
Thu, 12 Sep 2013 13:56:05 +0000 (15:56 +0200)
commit83be7b8384e0dc20b84de831e5922fb9c6d0762d
tree29ce3ab669442554a9c0b1bef2f25b1912ed2a1a
parent15ac66048e7dcd9c6a0ddbfc5cab2e56f95b3f56
uart: Fix corner-case that can occur with LA triggers.

Assume that the initial pin state is 1/high for the RX and TX lines.

This fixes the decode when an LA triggers on e.g. TX=low (the first
sample would be low in that case, so the falling edge for the start bit
would be missed by the decoder).
decoders/uart/pd.py