From 9f18eb6c7baad207a15c6efcfedf751838b8000e Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Thu, 12 Sep 2013 08:20:03 +0200 Subject: 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. --- decoders/uart/pd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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). -- cgit v1.2.3-70-g09d2