Skip to content

Commit a9f8deb

Browse files
Corrected name to CrcXmodem
1 parent f02444b commit a9f8deb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

canopen/sdo/base.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
from .. import variable
99

1010

11-
class Crc16Ccitt(object):
12-
"""Mimics Crc16Ccitt from crccheck."""
11+
class CrcXmodem(object):
12+
"""Mimics CrcXmodem from crccheck."""
1313

1414
def __init__(self):
1515
self._value = 0
@@ -24,7 +24,7 @@ def final(self):
2424
class SdoBase(Mapping):
2525

2626
#: The CRC algorithm used for block transfers
27-
crc_cls = Crc16Ccitt
27+
crc_cls = CrcXmodem
2828

2929
def __init__(self, rx_cobid, tx_cobid, od):
3030
"""

0 commit comments

Comments
 (0)