From b86ed24dbd3896b2322827737c237bb36e96dec1 Mon Sep 17 00:00:00 2001 From: "Mr.one" Date: Tue, 7 Jul 2026 15:31: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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/python/__init__.py b/panda/python/__init__.py index 69b7371d9..32d3c2b0e 100644 --- a/panda/python/__init__.py +++ b/panda/python/__init__.py @@ -704,7 +704,7 @@ class Panda: return bytes(part_1 + part_2) def get_type(self): - return Panda.HW_TYPE_TRES + 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):