version: sunnypilot v2026.002.000 (staging) date: 2026-07-21T07:44:02 master commit: 2c334ede443d7391d27575af8c854a095ba702a8
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)
|