mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-09-26 01:13:49 +08:00
6 lines
144 B
Python
6 lines
144 B
Python
from openpilot.selfdrive.ui.ui_state import ui_state
|
|
|
|
|
|
def restart_needed_callback(_):
|
|
ui_state.params.put_bool("OnroadCycleRequested", True)
|