summaryrefslogtreecommitdiff
path: root/decoders/ook
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/ook
parenta0cbf8298d761a3615fe3c9c444b7517b437920f (diff)
downloadlibsigrokdecode-e144452bcdd5f2abbe6b6f3da41ad64f67e39def.tar.gz
libsigrokdecode-e144452bcdd5f2abbe6b6f3da41ad64f67e39def.zip
All PDs: Consistently use singular/plural for annotation classes/rows.
Diffstat (limited to 'decoders/ook')
-rw-r--r--decoders/ook/pd.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/decoders/ook/pd.py b/decoders/ook/pd.py
index 5fc8d01..03157f9 100644
--- a/decoders/ook/pd.py
+++ b/decoders/ook/pd.py
@@ -63,16 +63,16 @@ class Decoder(srd.Decoder):
('info', 'Info'),
('1111', '1111'),
('1010', '1010'),
- ('diffman', 'Diff Man'),
+ ('diffman', 'Diff man'),
('nrz', 'NRZ'),
)
annotation_rows = (
- ('frame', 'Framing',(0,)),
- ('info', 'Info', (1,)),
+ ('frames', 'Framing', (0,)),
+ ('info-vals', 'Info', (1,)),
('man1111', 'Man 1111', (2,)),
('man1010', 'Man 1010', (3,)),
- ('diffman', 'Diff Man', (4,)),
- ('nrz', 'NRZ', (5,)),
+ ('diffmans', 'Diff man', (4,)),
+ ('nrz-vals', 'NRZ', (5,)),
)
binary = (
('pulse-lengths', 'Pulse lengths'),