From: Uwe Hermann Date: Wed, 1 Jan 2020 13:29:21 +0000 (+0100) Subject: amulet_ascii: Minor consistency fix. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=9916410b5a2b1f7d31e9652f9bb2e8517d130e48;p=libsigrokdecode.git amulet_ascii: Minor consistency fix. --- 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 = (