diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2019-12-30 12:35:02 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2019-12-30 12:50:07 +0100 |
commit | b2ddb8ee4e3883ceabb9a612809b5d3561ab7181 (patch) | |
tree | 0a9eaab0d1df1914752276dfcdc2cdd520aac8d7 /decoders/uart | |
parent | c69e72bc8d3524140959157fb605b7dd53b40af4 (diff) | |
download | libsigrokdecode-b2ddb8ee4e3883ceabb9a612809b5d3561ab7181.tar.gz libsigrokdecode-b2ddb8ee4e3883ceabb9a612809b5d3561ab7181.zip |
uart: Fix incorrect stop bit annotation class.
This fixes bug #1474.
Diffstat (limited to 'decoders/uart')
-rw-r--r-- | decoders/uart/pd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/uart/pd.py b/decoders/uart/pd.py index 67f4c7e..2bae0dc 100644 --- a/decoders/uart/pd.py +++ b/decoders/uart/pd.py @@ -410,7 +410,7 @@ class Decoder(srd.Decoder): self.frame_valid[rxtx] = False self.putp(['STOPBIT', rxtx, self.stopbit1[rxtx]]) - self.putg([Ann.RX_PARITY_OK + rxtx, ['Stop bit', 'Stop', 'T']]) + self.putg([Ann.RX_STOP + rxtx, ['Stop bit', 'Stop', 'T']]) # Pass the complete UART frame to upper layers. es = self.samplenum + ceil(self.bit_width / 2.0) |