mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-04 07:03:44 +08:00
6 lines
147 B
Python
6 lines
147 B
Python
from openpilot.selfdrive.ui.ui_state import ui_state
|
|
|
|
|
|
def restart_needed_callback(_):
|
|
ui_state.ui_params.put_bool("OnroadCycleRequested", True)
|