From 28f6018f4bc5cc13a962216ed446786dc80d3e00 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 4 May 2024 00:51:17 -0500 Subject: [PATCH] wip --- selfdrive/car/hyundai/carstate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/car/hyundai/carstate.py b/selfdrive/car/hyundai/carstate.py index ea1893b..ff9a7c8 100644 --- a/selfdrive/car/hyundai/carstate.py +++ b/selfdrive/car/hyundai/carstate.py @@ -277,7 +277,7 @@ class CarState(CarStateBase): self.main_enabled = not self.main_enabled if self.fix_main_enabled_check: self.fix_main_enabled_check = False - if ret.cruiseState.speed > 1 and self.main_enabled == False + if ret.cruiseState.speed > 1 and self.main_enabled == False: self.main_enabled = True self.buttons_counter = cp.vl[self.cruise_btns_msg_canfd]["COUNTER"] ret.accFaulted = cp.vl["TCS"]["ACCEnable"] != 0 # 0 ACC CONTROL ENABLED, 1-3 ACC CONTROL DISABLED