]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/can/pd.py
GPL headers: Use correct project name.
[libsigrokdecode.git] / decoders / can / pd.py
index a981b002d302cf4de5da671dd930e3c5c768008a..45b7a18400e0b7eb7da8abae3d9a576cc4138407 100644 (file)
@@ -1,5 +1,5 @@
 ##
-## This file is part of the sigrok project.
+## This file is part of the libsigrokdecode project.
 ##
 ## Copyright (C) 2012 Uwe Hermann <uwe@hermann-uwe.de>
 ##
@@ -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])