From fcf8c3feb2be2d9abd3ccf66bc04d16daf467d17 Mon Sep 17 00:00:00 2001 From: firestar5683 <168790843+firestar5683@users.noreply.github.com> Date: Tue, 10 Mar 2026 01:20:48 -0500 Subject: [PATCH] Malibu Exception --- selfdrive/car/gm/interface.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/selfdrive/car/gm/interface.py b/selfdrive/car/gm/interface.py index 311c94418..1bae56403 100644 --- a/selfdrive/car/gm/interface.py +++ b/selfdrive/car/gm/interface.py @@ -619,6 +619,11 @@ class CarInterface(CarInterfaceBase): {1: FrogPilotButtonType.lkas}), ] + # Malibu Hybrid only: allow physical CANCEL to cancel stock cruise without disabling OP long. + # Brake still disengages through normal common-event handling. + if self.CP.carFingerprint == CAR.CHEVROLET_MALIBU_HYBRID_CC and self.CP.openpilotLongitudinalControl: + ret.buttonEvents = [b for b in ret.buttonEvents if b.type != ButtonType.cancel] + # The ECM allows enabling on falling edge of set, but only rising edge of resume events = self.create_common_events(ret, extra_gears=[GearShifter.sport, GearShifter.low, GearShifter.eco, GearShifter.manumatic],