summaryrefslogtreecommitdiff
path: root/decoders/usb_packet
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/usb_packet')
-rw-r--r--decoders/usb_packet/pd.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/decoders/usb_packet/pd.py b/decoders/usb_packet/pd.py
index 8f86cc7..4716dd7 100644
--- a/decoders/usb_packet/pd.py
+++ b/decoders/usb_packet/pd.py
@@ -338,6 +338,4 @@ class Decoder(srd.Decoder):
self.bits, self.state = [], 'WAIT FOR SOP'
else:
pass # TODO: Error
- else:
- raise Exception('Invalid state: %s' % self.state)