updated: wait 1m before first cycle (#30492)

pull/25869/head^2
Adeeb Shihadeh 1 year ago committed by GitHub
parent fa353401f4
commit 99fbd4b150
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      selfdrive/updated.py

@ -428,6 +428,9 @@ def main() -> None:
# invalidate old finalized update # invalidate old finalized update
set_consistent_flag(False) set_consistent_flag(False)
# wait a bit before first cycle
wait_helper.sleep(60)
# Run the update loop # Run the update loop
while True: while True:
wait_helper.ready_event.clear() wait_helper.ready_event.clear()

Loading…
Cancel
Save