mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-08-05 08:16:03 +08:00
6 lines
149 B
Python
6 lines
149 B
Python
from openpilot.selfdrive.ui.ui_state import ui_state
|
|
|
|
|
|
def restart_needed_callback(_=None):
|
|
ui_state.params.put_bool("OnroadCycleRequested", True)
|