From 6f24ff4c1c0d4731c5b3dc153fd404078c64185d Mon Sep 17 00:00:00 2001 From: CamDavidsonPilon Date: Wed, 17 Jul 2024 14:02:30 -0400 Subject: [PATCH] fix this tuple --- pioreactor/utils/temps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pioreactor/utils/temps.py b/pioreactor/utils/temps.py index 198916a8..fa3874f7 100644 --- a/pioreactor/utils/temps.py +++ b/pioreactor/utils/temps.py @@ -18,7 +18,7 @@ class TMP1075: CONFIG_REGISTER = bytearray([0x01]) def __init__(self, address: int = 0x4F): - comm_port = (I2C(hardware.SCL, hardware.SDA),) + comm_port = I2C(hardware.SCL, hardware.SDA) self.i2c = I2CDevice(comm_port, address) def get_temperature(self) -> float: