diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2015-08-14 13:48:08 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2015-08-14 14:58:20 +0200 |
commit | 42227c2d29c8330c955cf64cf92be0bf1bf4aeeb (patch) | |
tree | aa4664c05ead3fc033c3fe03a2cdb2dcc281882d /decoders/usb_packet | |
parent | 08c41387ca016a59c041c8bc76efab037da5894a (diff) | |
download | libsigrokdecode-42227c2d29c8330c955cf64cf92be0bf1bf4aeeb.tar.gz libsigrokdecode-42227c2d29c8330c955cf64cf92be0bf1bf4aeeb.zip |
usb_packet: Fix incorrect DATA*/MDATA handling.
Thanks to Pavel Sukortsev for the bug report and fix.
This fixes bug #623.
Diffstat (limited to 'decoders/usb_packet')
-rw-r--r-- | decoders/usb_packet/pd.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/decoders/usb_packet/pd.py b/decoders/usb_packet/pd.py index a9c8b25..6f5e66e 100644 --- a/decoders/usb_packet/pd.py +++ b/decoders/usb_packet/pd.py @@ -289,7 +289,6 @@ class Decoder(srd.Decoder): 'DB: %02X' % db, '%02X' % db]]) databytes.append(db) self.packet_summary += ' %02X' % db - data = data[8:] self.packet_summary += ' ]' # Convenience Python output (no annotation) for all bytes together. |