summaryrefslogtreecommitdiff
path: root/decoders/dmx512/pd.py
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/dmx512/pd.py
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/dmx512/pd.py')
-rw-r--r--decoders/dmx512/pd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/decoders/dmx512/pd.py b/decoders/dmx512/pd.py
index 4ecc4db..3fd2aba 100644
--- a/decoders/dmx512/pd.py
+++ b/decoders/dmx512/pd.py
@@ -46,9 +46,9 @@ class Decoder(srd.Decoder):
('error', 'Error'),
)
annotation_rows = (
- ('name', 'Logical', (1, 2, 5, 6, 7, 8)),
- ('data', 'Data', (9,)),
('bits', 'Bits', (0, 3, 4)),
+ ('data', 'Data', (9,)),
+ ('name', 'Logical', (1, 2, 5, 6, 7, 8)),
('errors', 'Errors', (10,)),
)