]> sigrok.org Git - libsigrokdecode.git/commitdiff
usb_packet: Fix an incorrect index.
authorUwe Hermann <redacted>
Tue, 18 Mar 2014 19:39:09 +0000 (20:39 +0100)
committerUwe Hermann <redacted>
Tue, 18 Mar 2014 19:42:49 +0000 (20:42 +0100)
decoders/usb_packet/pd.py

index 740435665d3c907e5465f1cfbfce589f01888d90..be5429780872e96377da7e903da10c279b105d6d 100644 (file)
@@ -187,8 +187,8 @@ class Decoder(srd.Decoder):
         ('packet-invalid', 'Packet: Invalid'),
     )
     annotation_rows = (
-        ('fields', 'Packet fields', tuple(range(11 + 1))),
-        ('packet', 'Packets', tuple(range(12, 28 + 1))),
+        ('fields', 'Packet fields', tuple(range(10 + 1))),
+        ('packet', 'Packets', tuple(range(11, 28 + 1))),
     )
 
     def __init__(self):