summaryrefslogtreecommitdiff
path: root/decoders/mrf24j40/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/mrf24j40/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/mrf24j40/pd.py')
-rw-r--r--decoders/mrf24j40/pd.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/decoders/mrf24j40/pd.py b/decoders/mrf24j40/pd.py
index db3ca98..87022dd 100644
--- a/decoders/mrf24j40/pd.py
+++ b/decoders/mrf24j40/pd.py
@@ -33,11 +33,11 @@ class Decoder(srd.Decoder):
outputs = []
tags = ['IC', 'Wireless/RF']
annotations = (
- ('sread', 'Short register read commands'),
- ('swrite', 'Short register write commands'),
- ('lread', 'Long register read commands'),
- ('lwrite', 'Long register write commands'),
- ('warning', 'Warnings'),
+ ('sread', 'Short register read'),
+ ('swrite', 'Short register write'),
+ ('lread', 'Long register read'),
+ ('lwrite', 'Long register write'),
+ ('warning', 'Warning'),
('tx-frame', 'TX frame'),
('rx-frame', 'RX frame'),
('tx-retry-1', '1x TX retry'),
@@ -47,8 +47,8 @@ class Decoder(srd.Decoder):
('ccafail', 'CCAFAIL (channel busy)'),
)
annotation_rows = (
- ('read', 'Read', (0, 2)),
- ('write', 'Write', (1, 3)),
+ ('reads', 'Reads', (0, 2)),
+ ('writes', 'Writes', (1, 3)),
('warnings', 'Warnings', (4,)),
('tx-frames', 'TX frames', (5,)),
('rx-frames', 'RX frames', (6,)),