Skip to content

Commit

Permalink
fix this tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed Jul 17, 2024
1 parent c980f69 commit 6f24ff4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pioreactor/utils/temps.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6f24ff4

Please sign in to comment.