From da5d46fbfef406fc9279009d2f588bed4495a02f Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Fri, 10 Apr 2020 22:13:15 +0200 Subject: ltc242x: Use plural for annotation rows, avoid duplicates. Since recent libsigrokdecode changes, annotation classes and rows must not have overlapping IDs. --- decoders/ltc242x/pd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'decoders/ltc242x') 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}, -- cgit v1.2.3-70-g09d2