summaryrefslogtreecommitdiff
path: root/decoders/lin/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/lin/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/lin/pd.py')
-rw-r--r--decoders/lin/pd.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/decoders/lin/pd.py b/decoders/lin/pd.py
index a8b1998..11495d1 100644
--- a/decoders/lin/pd.py
+++ b/decoders/lin/pd.py
@@ -73,12 +73,12 @@ class Decoder(srd.Decoder):
annotations = (
('data', 'LIN data'),
('control', 'Protocol info'),
- ('error', 'Error descriptions'),
- ('inline_error', 'Protocol violations and errors'),
+ ('error', 'Error description'),
+ ('inline_error', 'Protocol violation or error'),
)
annotation_rows = (
- ('data', 'Data', (0, 1, 3)),
- ('error', 'Error', (2,)),
+ ('data_vals', 'Data', (0, 1, 3)),
+ ('errors', 'Errors', (2,)),
)
def __init__(self):