Skip to content

Commit b4e9749

Browse files
authored
Merge pull request #60 from vinicentus/return-type-patch-1
Fix return type
2 parents 3fcd328 + da871a4 commit b4e9749

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)