From 36aa774a1d8c6f43261d113dab3422ccfc45c8e7 Mon Sep 17 00:00:00 2001 From: "Mr.one" Date: Fri, 17 Jul 2026 17:12:53 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E8=BE=91=5F=5Finit=5F=5F.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- panda/python/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/panda/python/__init__.py b/panda/python/__init__.py index 2fe7b3d4c..ddd070868 100644 --- a/panda/python/__init__.py +++ b/panda/python/__init__.py @@ -704,7 +704,8 @@ class Panda: return bytes(part_1 + part_2) def get_type(self): - ret = bytearray(b'\x09') + #ret = bytearray(b'\x09') + ret = self._handle.controlRead(Panda.REQUEST_IN, 0xc1, 0, 0, 0x40) # old bootstubs don't implement this endpoint, see comment in Panda.device if self._bcd_hw_type is not None and (ret is None or len(ret) != 1):