From: Uwe Hermann Date: Fri, 10 Apr 2020 20:13:15 +0000 (+0200) Subject: ltc242x: Use plural for annotation rows, avoid duplicates. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=da5d46fbfef406fc9279009d2f588bed4495a02f;p=libsigrokdecode.git ltc242x: Use plural for annotation rows, avoid duplicates. Since recent libsigrokdecode changes, annotation classes and rows must not have overlapping IDs. --- 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},