summaryrefslogtreecommitdiff
path: root/decoders
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2014-02-03 22:51:56 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2014-02-09 19:38:21 +0100
commit9ed420384f97966e20e9c25ca6e99d7c903caf1b (patch)
tree783b63cbaa5cbe34682a59e05810f714029e2d81 /decoders
parent9389f2c1b9b74e00d1369e846d4417bf644275d0 (diff)
downloadlibsigrokdecode-9ed420384f97966e20e9c25ca6e99d7c903caf1b.tar.gz
libsigrokdecode-9ed420384f97966e20e9c25ca6e99d7c903caf1b.zip
mx25lxx05d: Define annotation rows.
Diffstat (limited to 'decoders')
-rw-r--r--decoders/mx25lxx05d/pd.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/decoders/mx25lxx05d/pd.py b/decoders/mx25lxx05d/pd.py
index 754729d..76319db 100644
--- a/decoders/mx25lxx05d/pd.py
+++ b/decoders/mx25lxx05d/pd.py
@@ -102,6 +102,11 @@ class Decoder(srd.Decoder):
['bits2', 'Bits2'],
['warnings', 'Warnings'],
]
+ annotation_rows = (
+ ('bits', 'Bits', (24, 25)),
+ ('commands', 'Commands', tuple(range(23 + 1))),
+ ('warnings', 'Warnings', (26,)),
+ )
def __init__(self, **kwargs):
self.state = None