Skip to content

Commit e734c9c

Browse files
committed
lint lint
1 parent 65842cd commit e734c9c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

TMC2209_Camera_Slider/CircuitPython/adafruit_tmc2209.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from micropython import const
88
from generic_uart_device import GenericUARTDevice
99

10-
# pylint: disable=protected-access, too-many-public-methods, bare-except
10+
# pylint: disable=protected-access, too-many-public-methods, bare-except, too-many-function-args
1111

1212
class TMC2209:
1313

@@ -147,6 +147,7 @@ def __init__(self, uart=None, tx_pin=None, rx_pin=None, addr=0, baudrate=115200)
147147
self._start_position = None
148148
self._end_position = None
149149

150+
@staticmethod
150151
def calc_crc(data: bytes) -> int:
151152
"""Calculate CRC8-ATM
152153
Polynomial: x^8 + x^2 + x + 1 (0x07)

0 commit comments

Comments
 (0)