This commit is contained in:
firestar5683
2026-01-27 00:12:01 -06:00
parent 5338f9a5d5
commit f3306bec23
+2 -1
View File
@@ -102,7 +102,8 @@ class CarController(CarControllerBase):
if self.CP.carFingerprint == CAR.CHEVROLET_MALIBU_HYBRID_CC:
phase_map = gmcan.malibu_phase_map_for_acc(CS.cruise_buttons)
if phase_map and CS.steering_button_checksum in phase_map:
phase = (phase_map[CS.steering_button_checksum] + 1) % 4
# Malibu appears to need a larger lead to stay in phase with the camera.
phase = (phase_map[CS.steering_button_checksum] + 2) % 4
self.malibu_cancel_phase = phase
self.malibu_button_phase = phase