summaryrefslogtreecommitdiff
path: root/decoders/uart
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2019-11-29 22:49:04 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2019-11-29 22:49:04 +0100
commit9d09d6eddd838dc7720118a13772b980107c7399 (patch)
treefde30127cfd60657882f2cfbccc0aedf03028df2 /decoders/uart
parent1865f48de72cebc0c8031bce8e5aaa2a3e1c5092 (diff)
downloadlibsigrokdecode-9d09d6eddd838dc7720118a13772b980107c7399.tar.gz
libsigrokdecode-9d09d6eddd838dc7720118a13772b980107c7399.zip
decoders: Use a slightly more consistent/logical annotation row setup.
Generally show "bits" and other smaller annotations in rows that come before "larger" annotations (in later rows).
Diffstat (limited to 'decoders/uart')
-rw-r--r--decoders/uart/pd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/decoders/uart/pd.py b/decoders/uart/pd.py
index 1492aed..802c593 100644
--- a/decoders/uart/pd.py
+++ b/decoders/uart/pd.py
@@ -141,13 +141,13 @@ class Decoder(srd.Decoder):
('tx-packet', 'TX packet'),
)
annotation_rows = (
- ('rx-data', 'RX', (0, 2, 4, 6, 8)),
('rx-data-bits', 'RX bits', (12,)),
+ ('rx-data', 'RX', (0, 2, 4, 6, 8)),
('rx-warnings', 'RX warnings', (10,)),
('rx-break', 'RX break', (14,)),
('rx-packets', 'RX packets', (16,)),
- ('tx-data', 'TX', (1, 3, 5, 7, 9)),
('tx-data-bits', 'TX bits', (13,)),
+ ('tx-data', 'TX', (1, 3, 5, 7, 9)),
('tx-warnings', 'TX warnings', (11,)),
('tx-break', 'TX break', (15,)),
('tx-packets', 'TX packets', (17,)),