can: Temporary quickfix for a bug. libsigrokdecode-0.1.1
authorUwe Hermann <uwe@hermann-uwe.de>
Wed, 30 Jan 2013 00:16:35 +0000 (01:16 +0100)
committerUwe Hermann <uwe@hermann-uwe.de>
Wed, 30 Jan 2013 00:16:35 +0000 (01:16 +0100)
decoders/can/pd.py

index a981b002d302cf4de5da671dd930e3c5c768008a..815d2d2e370d282888c570ac529117bed7d6db5e 100644 (file)
@@ -236,7 +236,7 @@ class Decoder(srd.Decoder):
             if can_rx == 0:
                 self.put(0, 0, self.out_ann, [0, ['Start of frame', 'SOF']])
             else:
-                self.put(self.ss, self.es, self.out_ann,
+                self.put(0, 0, self.out_ann,
                          [1, ['Start of frame (SOF) must be a dominant bit']])
 
         # Bits 1-11: Identifier (ID[10..0])