summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2020-04-11 00:58:00 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2020-04-11 15:09:15 +0200
commit2e01ea8bdb68c10510d63b2adbc2df52bb00f79c (patch)
tree014206d1c455509f69295320a6d11c1f7db63396
parent487b3d847da9a3a4d60366413447332d74f8ab6d (diff)
downloadlibsigrokdecode-2e01ea8bdb68c10510d63b2adbc2df52bb00f79c.tar.gz
libsigrokdecode-2e01ea8bdb68c10510d63b2adbc2df52bb00f79c.zip
ad79x0: Avoid duplicated annotation class/row IDs.
-rw-r--r--decoders/ad79x0/pd.py6
1 files changed, 3 insertions, 3 deletions
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 = (