From f33e442096c872bea1fc8f70cf5e4e322bf0f8f3 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 4 May 2024 01:01:15 -0500 Subject: [PATCH] wip --- selfdrive/car/hyundai/carstate.py | 1 + 1 file changed, 1 insertion(+) diff --git a/selfdrive/car/hyundai/carstate.py b/selfdrive/car/hyundai/carstate.py index 3f00616..d2a7e16 100644 --- a/selfdrive/car/hyundai/carstate.py +++ b/selfdrive/car/hyundai/carstate.py @@ -280,6 +280,7 @@ class CarState(CarStateBase): self.fix_main_enabled_check = False if ret.cruiseState.speed > 1 and self.main_enabled == False: self.main_enabled = True + self.fix_main_enabled_executed = 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