From: Uwe Hermann Date: Tue, 18 Mar 2014 19:39:09 +0000 (+0100) Subject: usb_packet: Fix an incorrect index. X-Git-Tag: libsigrokdecode-0.3.0~41 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=fa62a8f9841955980a5a46e9aaedb62839e098dc;p=libsigrokdecode.git usb_packet: Fix an incorrect index. --- 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):