From: Uwe Hermann Date: Fri, 10 Apr 2020 22:58:00 +0000 (+0200) Subject: ad79x0: Avoid duplicated annotation class/row IDs. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=2e01ea8bdb68c10510d63b2adbc2df52bb00f79c;p=libsigrokdecode.git ad79x0: Avoid duplicated annotation class/row IDs. --- diff --git a/decoders/ad79x0/pd.py b/decoders/ad79x0/pd.py index 9f3a167..13a2972 100644 --- a/decoders/ad79x0/pd.py +++ b/decoders/ad79x0/pd.py @@ -45,12 +45,12 @@ class Decoder(srd.Decoder): tags = ['Display'] annotations = ( ('mode', 'Mode'), - ('data', 'Data'), + ('voltage', 'Voltage'), ('validation', 'Validation'), ) annotation_rows = ( - ('mode', 'Mode', (0,)), - ('data', 'Converted data', (1,)), + ('modes', 'Modes', (0,)), + ('voltages', 'Voltages', (1,)), ('data_validation', 'Data validation', (2,)), ) options = (