summaryrefslogtreecommitdiff
path: root/decoders/dmx512/pd.py
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2019-12-30 18:33:32 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2020-01-01 01:59:46 +0100
commite144452bcdd5f2abbe6b6f3da41ad64f67e39def (patch)
treec6bfbc9325b8dca5f6a8dd196ae434bda5126e41 /decoders/dmx512/pd.py
parenta0cbf8298d761a3615fe3c9c444b7517b437920f (diff)
downloadlibsigrokdecode-e144452bcdd5f2abbe6b6f3da41ad64f67e39def.tar.gz
libsigrokdecode-e144452bcdd5f2abbe6b6f3da41ad64f67e39def.zip
All PDs: Consistently use singular/plural for annotation classes/rows.
Diffstat (limited to 'decoders/dmx512/pd.py')
-rw-r--r--decoders/dmx512/pd.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/decoders/dmx512/pd.py b/decoders/dmx512/pd.py
index 3fd2aba..9ef82d7 100644
--- a/decoders/dmx512/pd.py
+++ b/decoders/dmx512/pd.py
@@ -37,7 +37,7 @@ class Decoder(srd.Decoder):
('break', 'Break'),
('mab', 'Mark after break'),
('startbit', 'Start bit'),
- ('stopbits', 'Stop bit'),
+ ('stopbit', 'Stop bit'),
('startcode', 'Start code'),
('channel', 'Channel'),
('interframe', 'Interframe'),
@@ -47,8 +47,8 @@ class Decoder(srd.Decoder):
)
annotation_rows = (
('bits', 'Bits', (0, 3, 4)),
- ('data', 'Data', (9,)),
- ('name', 'Logical', (1, 2, 5, 6, 7, 8)),
+ ('data-vals', 'Data', (9,)),
+ ('logical-vals', 'Logical', (1, 2, 5, 6, 7, 8)),
('errors', 'Errors', (10,)),
)