summaryrefslogtreecommitdiff
path: root/decoders
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2020-01-01 14:29:21 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2020-01-01 14:29:21 +0100
commit9916410b5a2b1f7d31e9652f9bb2e8517d130e48 (patch)
tree56fc07a035adb815a440230baa8f5ad152f2bc4f /decoders
parent7b37cec33ac7ab2d121c463f6cb278cac1b0401e (diff)
downloadlibsigrokdecode-9916410b5a2b1f7d31e9652f9bb2e8517d130e48.tar.gz
libsigrokdecode-9916410b5a2b1f7d31e9652f9bb2e8517d130e48.zip
amulet_ascii: Minor consistency fix.
Diffstat (limited to 'decoders')
-rw-r--r--decoders/amulet_ascii/pd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/amulet_ascii/pd.py b/decoders/amulet_ascii/pd.py
index 54733ef..41fbcad 100644
--- a/decoders/amulet_ascii/pd.py
+++ b/decoders/amulet_ascii/pd.py
@@ -53,7 +53,7 @@ class Decoder(srd.Decoder):
annotation_rows = (
('bits', 'Bits', (L + 0,)),
('fields', 'Fields', (L + 1,)),
- ('commands', 'Commands', tuple(range(len(cmds)))),
+ ('commands', 'Commands', tuple(range(L))),
('warnings', 'Warnings', (L + 2,)),
)
options = (