diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2013-09-12 08:20:03 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2013-09-12 15:56:06 +0200 |
commit | 9f18eb6c7baad207a15c6efcfedf751838b8000e (patch) | |
tree | f5649050ce6f949a2e13306780623b07104421ba /decoders/uart | |
parent | 9300bc22bad033204d369884b0f548b1e2a9bc59 (diff) | |
download | libsigrokdecode-9f18eb6c7baad207a15c6efcfedf751838b8000e.tar.gz libsigrokdecode-9f18eb6c7baad207a15c6efcfedf751838b8000e.zip |
uart: Use T for stop bit, P for parity bit.
The short(est) annotations for "Stop bit" and "Parity bit" have both
been "P" until now, which is confusing for users (on certain zoom levels
in GUIs). Use "T" for stop bits now instead.
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 c0968fb..df4bba0 100644 --- a/decoders/uart/pd.py +++ b/decoders/uart/pd.py @@ -254,7 +254,7 @@ class Decoder(srd.Decoder): self.state[rxtx] = 'WAIT FOR START BIT' self.putp(['STOPBIT', rxtx, self.stopbit1[rxtx]]) - self.putg([ANN_ASCII, ['Stop bit', 'Stop', 'P']]) + self.putg([ANN_ASCII, ['Stop bit', 'Stop', 'T']]) def decode(self, ss, es, data): # TODO: Either RX or TX could be omitted (optional probe). |