From 5af7044cd800f5fa6f576f736b92477be06fd464 Mon Sep 17 00:00:00 2001 From: vanillagorillaa Date: Thu, 23 Dec 2021 01:13:30 +0000 Subject: [PATCH] try for now --- selfdrive/car/honda/hondacan.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/selfdrive/car/honda/hondacan.py b/selfdrive/car/honda/hondacan.py index 7fcafe67f8..441658e0e4 100644 --- a/selfdrive/car/honda/hondacan.py +++ b/selfdrive/car/honda/hondacan.py @@ -1,4 +1,4 @@ -from selfdrive.car.honda.values import HondaFlags, HONDA_BOSCH, CAR, CarControllerParams +from selfdrive.car.honda.values import HondaFlags, HONDA_BOSCH, HONDA_RADARLESS, CAR, CarControllerParams from selfdrive.config import Conversions as CV # CAN bus layout with relay @@ -170,5 +170,8 @@ def spam_buttons_command(packer, button_val, idx, car_fingerprint): 'CRUISE_BUTTONS': button_val, 'CRUISE_SETTING': 0, } - bus = get_pt_bus(car_fingerprint) + if CP.carFingerprint in HONDA_RADARLESS: + bus = 2 + else: + bus = get_pt_bus(car_fingerprint) return packer.make_can_msg("SCM_BUTTONS", bus, values, idx)