diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2020-04-10 22:13:15 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2020-04-11 15:09:15 +0200 |
commit | da5d46fbfef406fc9279009d2f588bed4495a02f (patch) | |
tree | 3e10b480da1440d2ea43e4d777343c2282851bf5 | |
parent | 2b61ff3d32c97494d6e065a382760e47edf59a71 (diff) | |
download | libsigrokdecode-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.
-rw-r--r-- | decoders/ltc242x/pd.py | 4 |
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}, |