summaryrefslogtreecommitdiff
path: root/decoders/can/pd.py
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2013-01-30 01:16:35 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2013-01-30 01:16:35 +0100
commitde5a05f120d6d7f1e20265e9e264ac859c9c5020 (patch)
tree9919c0f6cbc627d5974e2c9fce67ff1005d8a8dd /decoders/can/pd.py
parentd71834acaacc7fd8af6e7293231ecd7cd2743ccf (diff)
downloadlibsigrokdecode-de5a05f120d6d7f1e20265e9e264ac859c9c5020.tar.gz
libsigrokdecode-de5a05f120d6d7f1e20265e9e264ac859c9c5020.zip
can: Temporary quickfix for a bug.
Diffstat (limited to 'decoders/can/pd.py')
-rw-r--r--decoders/can/pd.py2
1 files changed, 1 insertions, 1 deletions
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])