This commit is contained in:
Your Name
2024-05-04 01:18:15 -05:00
parent e1cd56ab16
commit fe14c0506b
2 changed files with 5 additions and 2 deletions

View File

@@ -281,6 +281,7 @@ class CarState(CarStateBase):
self.fix_main_enabled_check = False
if ret.cruiseState.speed > 1 and self.main_enabled == False:
self.fix_main_enabled_cancel_main = 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