Skip to content

Commit da871a4

Browse files
authored
Fix return type
1 parent 3fcd328 commit da871a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_tca9548a.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def try_lock(self) -> bool:
6464
self.tca.i2c.writeto(self.tca.address, self.channel_switch)
6565
return True
6666

67-
def unlock(self) -> bool:
67+
def unlock(self) -> None:
6868
"""Pass through for unlock."""
6969
self.tca.i2c.writeto(self.tca.address, b"\x00")
7070
return self.tca.i2c.unlock()

0 commit comments

Comments
 (0)