From be0f8fee99fe939c50ed5d2483a924754788c0b3 Mon Sep 17 00:00:00 2001 From: Stefan BrĂ¼ns Date: Tue, 1 Dec 2015 05:53:32 +0100 Subject: usb_{packet,request}: handle PREamble transmissions --- decoders/usb_request/pd.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'decoders/usb_request') 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)]]) -- cgit v1.2.3-70-g09d2