From 5e6e978438fb68901c3cd10314d837219109a333 Mon Sep 17 00:00:00 2001 From: firestarsdog <229254897+firestarsdog@users.noreply.github.com> Date: Sat, 19 Sep 2026 18:25:59 -0400 Subject: [PATCH] Gen2 Bolt HSA Fix? Maybe? 0x315 : Mode 1 when not engaged, not Mode 9 --- opendbc_repo/opendbc/car/gm/carcontroller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opendbc_repo/opendbc/car/gm/carcontroller.py b/opendbc_repo/opendbc/car/gm/carcontroller.py index ec18829838..a3d6f529e4 100644 --- a/opendbc_repo/opendbc/car/gm/carcontroller.py +++ b/opendbc_repo/opendbc/car/gm/carcontroller.py @@ -1197,7 +1197,7 @@ class CarController(CarControllerBase): # cannot linger after a disengage or main-off event. if should_send_bolt_acc_pedal_friction: can_sends.append(gmcan.create_friction_brake_command( - self.packer_ch, friction_brake_bus, experiment_brake, idx, bolt_acc_pedal_friction_main_on, + self.packer_ch, friction_brake_bus, experiment_brake, idx, bolt_acc_pedal_friction_main_on and CC.longActive, near_stop, at_full_stop, self.CP)) if self.CP.carFingerprint not in CC_ONLY_CAR: friction_brake_bus = get_friction_brake_bus(self.CP)