From 9916410b5a2b1f7d31e9652f9bb2e8517d130e48 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Wed, 1 Jan 2020 14:29:21 +0100 Subject: amulet_ascii: Minor consistency fix. --- decoders/amulet_ascii/pd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'decoders/amulet_ascii') 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 = ( -- cgit v1.2.3-70-g09d2