We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3fcd328 + da871a4 commit b4e9749Copy full SHA for b4e9749
adafruit_tca9548a.py
@@ -64,7 +64,7 @@ def try_lock(self) -> bool:
64
self.tca.i2c.writeto(self.tca.address, self.channel_switch)
65
return True
66
67
- def unlock(self) -> bool:
+ def unlock(self) -> None:
68
"""Pass through for unlock."""
69
self.tca.i2c.writeto(self.tca.address, b"\x00")
70
return self.tca.i2c.unlock()
0 commit comments