From: Uwe Hermann Date: Wed, 30 Jan 2013 00:16:35 +0000 (+0100) Subject: can: Temporary quickfix for a bug. X-Git-Tag: libsigrokdecode-0.1.1^0 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=de5a05f120d6d7f1e20265e9e264ac859c9c5020;p=libsigrokdecode.git can: Temporary quickfix for a bug. --- diff --git a/decoders/can/pd.py b/decoders/can/pd.py index a981b00..815d2d2 100644 --- a/decoders/can/pd.py +++ b/decoders/can/pd.py @@ -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])