From 4a67489e3337d87e65b846fbf7fcd3bc30bcae47 Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Thu, 11 Jul 2024 21:47:14 -0400 Subject: [PATCH] this might have been blocking engagement --- selfdrive/car/gm/carcontroller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/car/gm/carcontroller.py b/selfdrive/car/gm/carcontroller.py index 426168d215..ce572ce86c 100644 --- a/selfdrive/car/gm/carcontroller.py +++ b/selfdrive/car/gm/carcontroller.py @@ -239,7 +239,7 @@ class CarController(CarControllerBase): # multikyd methods, sunnyhaibin logic def get_cruise_buttons_status(self, CS): - if not CS.out.cruiseState.enabled or CS.cruise_buttons != CruiseButtons.UNPRESS or CS.cruise_buttons != CruiseButtons.INIT: + if not CS.out.cruiseState.enabled or CS.cruise_buttons != CruiseButtons.UNPRESS: self.timer = 40 elif self.timer: self.timer -= 1