summaryrefslogtreecommitdiff
path: root/decoders/ltc242x
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2020-04-10 22:13:15 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2020-04-11 15:09:15 +0200
commitda5d46fbfef406fc9279009d2f588bed4495a02f (patch)
tree3e10b480da1440d2ea43e4d777343c2282851bf5 /decoders/ltc242x
parent2b61ff3d32c97494d6e065a382760e47edf59a71 (diff)
downloadlibsigrokdecode-da5d46fbfef406fc9279009d2f588bed4495a02f.tar.gz
libsigrokdecode-da5d46fbfef406fc9279009d2f588bed4495a02f.zip
ltc242x: Use plural for annotation rows, avoid duplicates.
Since recent libsigrokdecode changes, annotation classes and rows must not have overlapping IDs.
Diffstat (limited to 'decoders/ltc242x')
-rw-r--r--decoders/ltc242x/pd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/decoders/ltc242x/pd.py b/decoders/ltc242x/pd.py
index 9bb6cc3..dec8b29 100644
--- a/decoders/ltc242x/pd.py
+++ b/decoders/ltc242x/pd.py
@@ -37,8 +37,8 @@ class Decoder(srd.Decoder):
('input', 'Input voltage'),
)
annotation_rows = (
- ('channel', 'Channel', (0,)),
- ('input', 'Input voltage', (1,)),
+ ('channels', 'Channels', (0,)),
+ ('inputs', 'Input voltages', (1,)),
)
options = (
{'id': 'vref', 'desc': 'Reference voltage (V)', 'default': 1.5},