diff options
author | Stefan Brüns <stefan.bruens@rwth-aachen.de> | 2015-12-01 05:53:32 +0100 |
---|---|---|
committer | Stefan Brüns <stefan.bruens@rwth-aachen.de> | 2015-12-01 06:46:27 +0100 |
commit | be0f8fee99fe939c50ed5d2483a924754788c0b3 (patch) | |
tree | 16014bc62d3e9e4888eba581268da0efdc900f3b /decoders/usb_request | |
parent | 831d893d4b9e4f76b5e645ee5e6fcfd4962ffa6a (diff) | |
download | libsigrokdecode-be0f8fee99fe939c50ed5d2483a924754788c0b3.tar.gz libsigrokdecode-be0f8fee99fe939c50ed5d2483a924754788c0b3.zip |
usb_{packet,request}: handle PREamble transmissions
Diffstat (limited to 'decoders/usb_request')
-rw-r--r-- | decoders/usb_request/pd.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/usb_request/pd.py b/decoders/usb_request/pd.py index 4227856..4526e69 100644 --- a/decoders/usb_request/pd.py +++ b/decoders/usb_request/pd.py @@ -350,6 +350,9 @@ class Decoder(srd.Decoder): self.transaction_es = es self.handle_transfer() + elif pname == 'PRE': + return + else: self.putr(ss, es, [4, ['ERR: received unhandled %s token in state %s' % (pname, self.transaction_state)]]) |