From ab96960eded15c227208e49007a0b3f65c046aa3 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sun, 29 Sep 2013 20:22:51 +0200 Subject: usb_signalling: Fix packet annotation. --- decoders/usb_signalling/pd.py | 5 +++-- 1 file 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 -- cgit v1.2.3-70-g09d2