This commit is contained in:
ryleu
2026-04-01 03:31:21 -05:00
parent 327539467c
commit 4ef226c094

View File

@@ -29,7 +29,7 @@ MCU_IDS = [
"faerie",
"citadel",
"libs",
]
]
class NoValidDeviceException(Exception):
@@ -374,7 +374,7 @@ class CANConnector(Connector):
data = struct.pack(">ff", *msg.data)
case 4:
data_type = 2
data = struct.pack(">hhhh", *[ int(x) for x in msg.data])
data = struct.pack(">hhhh", *[int(x) for x in msg.data])
case _:
self.logger.error(
f"unexpected VicCAN data length: {data_len}; dropping message"