From e7fbc81615f90dbf89374a157c0cf3c7342cb99b Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Tue, 27 May 2025 18:21:56 -0700 Subject: [PATCH] negative better than generic thing --- system/hardware/hardwared.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/hardware/hardwared.py b/system/hardware/hardwared.py index f5723be683..4a06bcae25 100755 --- a/system/hardware/hardwared.py +++ b/system/hardware/hardwared.py @@ -170,7 +170,7 @@ def hardware_thread(end_event, hw_queue) -> None: onroad_conditions: dict[str, bool] = { "ignition": False, - "onroad_allowed": True, + "not_onroad_cycle": True, } startup_conditions: dict[str, bool] = {} startup_conditions_prev: dict[str, bool] = {} @@ -213,7 +213,7 @@ def hardware_thread(end_event, hw_queue) -> None: peripheral_panda_present = peripheralState.pandaType != log.PandaState.PandaType.unknown # handle requests to cycle system started state - onroad_conditions["onroad_allowed"] = not params.get_bool("OnroadCycleRequested") + onroad_conditions["not_onroad_cycle"] = not params.get_bool("OnroadCycleRequested") if sm.updated['pandaStates'] and len(pandaStates) > 0: