We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f02444b commit a9f8debCopy full SHA for a9f8deb
1 file changed
canopen/sdo/base.py
@@ -8,8 +8,8 @@
8
from .. import variable
9
10
11
-class Crc16Ccitt(object):
12
- """Mimics Crc16Ccitt from crccheck."""
+class CrcXmodem(object):
+ """Mimics CrcXmodem from crccheck."""
13
14
def __init__(self):
15
self._value = 0
@@ -24,7 +24,7 @@ def final(self):
24
class SdoBase(Mapping):
25
26
#: The CRC algorithm used for block transfers
27
- crc_cls = Crc16Ccitt
+ crc_cls = CrcXmodem
28
29
def __init__(self, rx_cobid, tx_cobid, od):
30
"""
0 commit comments