summaryrefslogtreecommitdiff
path: root/decoders
diff options
context:
space:
mode:
Diffstat (limited to 'decoders')
-rw-r--r--decoders/usb_signalling/pd.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/decoders/usb_signalling/pd.py b/decoders/usb_signalling/pd.py
index c00786a..774ed49 100644
--- a/decoders/usb_signalling/pd.py
+++ b/decoders/usb_signalling/pd.py
@@ -209,6 +209,10 @@ class Decoder(srd.Decoder):
self.putm([5, ['EOP', 'E']])
self.state = 'IDLE'
self.bitwidth = float(self.samplerate) / float(self.bitrate)
+ else:
+ self.putpm(['ERR', None])
+ self.putm([8, ['EOP Error', 'EErr', 'E']])
+ self.state = 'IDLE'
def get_bit(self, sym):
if sym == 'SE0':