编辑__init__.py

This commit is contained in:
2026-07-17 21:24:29 +08:00
parent c9153fae9a
commit d120fe6a75
+1 -1
View File
@@ -586,7 +586,7 @@ class Panda:
return bytes(part_1 + part_2)
def get_type(self):
return Panda.HW_TYPE_TRES
return bytearray(b'\x09')
# Returns tuple with health packet version and CAN packet/USB packet version
def get_packets_versions(self):
dat = self._handle.controlRead(Panda.REQUEST_IN, 0xdd, 0, 0, 3)