summaryrefslogtreecommitdiff
path: root/decoders/wiegand
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/wiegand
parenta0cbf8298d761a3615fe3c9c444b7517b437920f (diff)
downloadlibsigrokdecode-e144452bcdd5f2abbe6b6f3da41ad64f67e39def.tar.gz
libsigrokdecode-e144452bcdd5f2abbe6b6f3da41ad64f67e39def.zip
All PDs: Consistently use singular/plural for annotation classes/rows.
Diffstat (limited to 'decoders/wiegand')
-rw-r--r--decoders/wiegand/pd.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/decoders/wiegand/pd.py b/decoders/wiegand/pd.py
index a93be10..7b3241f 100644
--- a/decoders/wiegand/pd.py
+++ b/decoders/wiegand/pd.py
@@ -43,12 +43,12 @@ class Decoder(srd.Decoder):
'default': 4, 'values': (1, 2, 4, 8, 16, 32)},
)
annotations = (
- ('bits', 'Bits'),
+ ('bit', 'Bit'),
('state', 'State'),
)
annotation_rows = (
- ('bits', 'Binary value', (0,)),
- ('state', 'Stream state', (1,)),
+ ('bits', 'Bits', (0,)),
+ ('states', 'Stream states', (1,)),
)
def __init__(self):