From cb8f3d3c9c28076ebeceea8e3f986071425e4688 Mon Sep 17 00:00:00 2001 From: "Mr.one" Date: Wed, 17 Jun 2026 19:57:28 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E8=BE=91hondacan.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- opendbc_repo/opendbc/car/honda/hondacan.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/opendbc_repo/opendbc/car/honda/hondacan.py b/opendbc_repo/opendbc/car/honda/hondacan.py index 333f6773..66d0a274 100644 --- a/opendbc_repo/opendbc/car/honda/hondacan.py +++ b/opendbc_repo/opendbc/car/honda/hondacan.py @@ -17,7 +17,7 @@ class CanBus(CanBusBase): super().__init__(CP if fingerprint is None else None, fingerprint) # powertrain bus is split instead of radar on radarless and CAN FD Bosch - if CP.carFingerprint in (HONDA_BOSCH - HONDA_BOSCH_RADARLESS - HONDA_BOSCH_CANFD) or CP.carFingerprint == CAR.HONDA_HRV_3G: + if CP.carFingerprint in (HONDA_BOSCH - HONDA_BOSCH_RADARLESS - HONDA_BOSCH_CANFD): self._pt, self._radar = self.offset + 1, self.offset # normally steering commands are sent to radar, which forwards them to powertrain bus # when radar is disabled, steering commands are sent directly to powertrain bus @@ -190,7 +190,7 @@ def create_lkas_hud(packer, bus, CP, hud_control, lat_active, steering_available # car likely needs to see LKAS_PROBLEM fall within a specific time frame, so forward from camera # TODO: needed for Bosch CAN FD? - if CP.carFingerprint in HONDA_BOSCH_RADARLESS or CP.carFingerprint == CAR.HONDA_HRV_3G: + if CP.carFingerprint in HONDA_BOSCH_RADARLESS: lkas_hud_values['LKAS_PROBLEM'] = lkas_hud['LKAS_PROBLEM'] if not (CP.flags & HondaFlags.BOSCH_EXT_HUD): @@ -250,4 +250,4 @@ def honda_checksum(address: int, sig, d: bytearray) -> int: s = 8 - s if extended: s += 3 - return s & 0xF + return s & 0xF \ No newline at end of file