summaryrefslogtreecommitdiff
path: root/decoders
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2014-03-18 20:39:09 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2014-03-18 20:42:49 +0100
commitfa62a8f9841955980a5a46e9aaedb62839e098dc (patch)
tree732c41519cbc6fe5ecef759457efc6b70b1a7eea /decoders
parent7a23306705864b1cc96bbbee57d47e6f87f7767b (diff)
downloadlibsigrokdecode-fa62a8f9841955980a5a46e9aaedb62839e098dc.tar.gz
libsigrokdecode-fa62a8f9841955980a5a46e9aaedb62839e098dc.zip
usb_packet: Fix an incorrect index.
Diffstat (limited to 'decoders')
-rw-r--r--decoders/usb_packet/pd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/decoders/usb_packet/pd.py b/decoders/usb_packet/pd.py
index 7404356..be54297 100644
--- a/decoders/usb_packet/pd.py
+++ b/decoders/usb_packet/pd.py
@@ -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):