]> sigrok.org Git - libsigrokdecode.git/commitdiff
can: annotate classic CAN CRC as CRC-15
authorStephan Thiele <redacted>
Wed, 13 Nov 2019 22:14:16 +0000 (23:14 +0100)
committerUwe Hermann <redacted>
Fri, 29 Nov 2019 19:33:48 +0000 (20:33 +0100)
decoders/can/pd.py

index 0b001278a1905e9f27042d168e9a43fc2026645a..faed45e0cc6057730ca7d1889a047df60751ef7d 100644 (file)
@@ -188,7 +188,7 @@ class Decoder(srd.Decoder):
                 else:
                     crc_type = "CRC-21"
             else:
-                crc_type = "CRC" # TODO: CRC-15 (will break existing tests)
+                crc_type = "CRC-15"
 
             x = self.last_databit + 1
             crc_bits = self.bits[x:x + self.crc_len + 1]