]> sigrok.org Git - libsigrokdecode.git/commitdiff
sdcard_spi: Fix incorrect annotation row indices.
authorUwe Hermann <redacted>
Mon, 15 Apr 2019 18:13:32 +0000 (20:13 +0200)
committerUwe Hermann <redacted>
Mon, 15 Apr 2019 18:13:58 +0000 (20:13 +0200)
This fixes the remaining parts of bug #1365.

decoders/sdcard_spi/pd.py

index 94055ceae3f04c08de9acb1d99caf123ade83df1..62661e6dede9dca0167ac608d9225b0457158a37 100644 (file)
@@ -42,8 +42,8 @@ class Decoder(srd.Decoder):
         ('bit-warnings', 'Bit warnings'),
     )
     annotation_rows = (
-        ('bits', 'Bits', (134, 135)),
-        ('cmd-reply', 'Commands/replies', tuple(range(134))),
+        ('bits', 'Bits', (133, 134)),
+        ('cmd-reply', 'Commands/replies', tuple(range(133))),
     )
 
     def __init__(self):