mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-06-23 14:22:07 +08:00
3a764c0ae3
* rm nonblocking funcs * same behavior * and put_bool * missing! * and nonblocking * cmt
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)
|