summaryrefslogtreecommitdiff
path: root/decoders/usb_signalling
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/usb_signalling')
-rw-r--r--decoders/usb_signalling/pd.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/decoders/usb_signalling/pd.py b/decoders/usb_signalling/pd.py
index 3a5e395..df61628 100644
--- a/decoders/usb_signalling/pd.py
+++ b/decoders/usb_signalling/pd.py
@@ -162,8 +162,9 @@ class Decoder(srd.Decoder):
# Got an EOP, i.e. we now have a full packet.
self.putpm(['EOP', None])
self.putm([2, ['EOP']])
- self.putpb(['PACKET', self.packet])
- self.putb([5, ['PACKET: %s' % self.packet]])
+ self.ss_block = self.ss_sop
+ self.putpm(['PACKET', self.packet])
+ self.putm([5, ['PACKET: %s' % self.packet]])
self.bitnum, self.packet, self.syms, self.state = 0, '', [], 'IDLE'
self.consecutive_ones = 0