From da871a4b865c81cd59d6d17f31056ddb187ac9a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vincent=20L=C3=A5ngstr=C3=B6m?= Date: Tue, 11 Nov 2025 15:14:07 +0200 Subject: [PATCH] Fix return type --- adafruit_tca9548a.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adafruit_tca9548a.py b/adafruit_tca9548a.py index 96f2898..63c1c41 100644 --- a/adafruit_tca9548a.py +++ b/adafruit_tca9548a.py @@ -64,7 +64,7 @@ def try_lock(self) -> bool: self.tca.i2c.writeto(self.tca.address, self.channel_switch) return True - def unlock(self) -> bool: + def unlock(self) -> None: """Pass through for unlock.""" self.tca.i2c.writeto(self.tca.address, b"\x00") return self.tca.i2c.unlock()