This commit is contained in:
infiniteCable2
2026-01-25 11:55:34 +01:00
10 changed files with 28 additions and 115 deletions

View File

@@ -130,11 +130,6 @@ class Panda:
INTERNAL_DEVICES = (HW_TYPE_TRES, HW_TYPE_CUATRO)
MAX_FAN_RPMs = {
HW_TYPE_TRES: 6600,
HW_TYPE_CUATRO: 5000,
}
HARNESS_STATUS_NC = 0
HARNESS_STATUS_NORMAL = 1
HARNESS_STATUS_FLIPPED = 2
@@ -148,9 +143,9 @@ class Panda:
self._can_speed_kbps = can_speed_kbps
if cli and serial is None:
self._connect_serial = self._cli_select_panda()
self._connect_serial = self._cli_select_panda()
else:
self._connect_serial = serial
self._connect_serial = serial
# connect and set mcu type
self.connect(claim)