diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2013-09-29 20:22:51 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2013-09-29 20:22:51 +0200 |
commit | ab96960eded15c227208e49007a0b3f65c046aa3 (patch) | |
tree | dda1731b8d1fe6c636b4b56918ecec53da887c7b | |
parent | fdd5ee5e2ca54c287aecf8c31a3249d5f69fdd66 (diff) | |
download | libsigrokdecode-ab96960eded15c227208e49007a0b3f65c046aa3.tar.gz libsigrokdecode-ab96960eded15c227208e49007a0b3f65c046aa3.zip |
usb_signalling: Fix packet annotation.
-rw-r--r-- | decoders/usb_signalling/pd.py | 5 |
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 |