from openpilot.selfdrive.ui.ui_state import ui_state def restart_needed_callback(_=None): ui_state.params.put_bool("OnroadCycleRequested", True)