编辑__init__.py

This commit is contained in:
2026-08-02 13:19:50 +08:00
parent d120fe6a75
commit 9f56f0b7fb
+1 -1
View File
@@ -586,7 +586,7 @@ class Panda:
return bytes(part_1 + part_2)
def get_type(self):
return bytearray(b'\x09')
return self._handle.controlRead(Panda.REQUEST_IN, 0xc1, 0, 0, 0x40)
# 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)