6e2ccc8b15
version: sunnypilot v2026.002.000 (staging) date: 2026-05-27T04:05:25 master commit: dfc3c98b226da57a653daf57131a8a3d66166fcb
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)
|