diff options
Diffstat (limited to 'decoders/spi/pd.py')
-rw-r--r-- | decoders/spi/pd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/spi/pd.py b/decoders/spi/pd.py index 7cfa266..8d0d6ae 100644 --- a/decoders/spi/pd.py +++ b/decoders/spi/pd.py @@ -279,7 +279,7 @@ class Decoder(srd.Decoder): self.ss_transfer = self.samplenum self.misobytes = [] self.mosibytes = [] - else: + elif self.ss_transfer != -1: if self.have_miso: self.put(self.ss_transfer, self.samplenum, self.out_ann, [5, [' '.join(format(x.val, '02X') for x in self.misobytes)]]) |