Skip to content

Commit e91d484

Browse files
committed
black
1 parent cd34338 commit e91d484

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_nunchuk.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ def __init__(
6161
self, i2c: I2C, address: int = 0x52, i2c_read_delay: float = 0.002
6262
) -> None:
6363
self.buffer = bytearray(8)
64-
#-| HACK |---------------------------------------------------
64+
# -| HACK |---------------------------------------------------
6565
# fixes quirk with RP2040 + 3rd party controllers
6666
while not i2c.try_lock():
6767
pass
6868
_ = i2c.scan()
6969
i2c.unlock()
70-
#------------------------------------------------------------
70+
# ------------------------------------------------------------
7171
self.i2c_device = I2CDevice(i2c, address)
7272
self._i2c_read_delay = i2c_read_delay
7373
time.sleep(_I2C_INIT_DELAY)

0 commit comments

Comments
 (0)