From 6e101fd6919f3eac745e9273dcdfe470c5ab1f64 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Sun, 7 Mar 2021 15:37:09 -0800 Subject: [PATCH] offroad alert for agnos update (#20270) --- selfdrive/updated.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/selfdrive/updated.py b/selfdrive/updated.py index 818aecd0fa..bc08a8a344 100755 --- a/selfdrive/updated.py +++ b/selfdrive/updated.py @@ -227,9 +227,11 @@ def handle_agnos_update(wait_helper): set_consistent_flag(False) cloudlog.info(f"Beginning background installation for AGNOS {updated_version}") + set_offroad_alert("Offroad_NeosUpdate", True) manifest_path = os.path.join(OVERLAY_MERGED, "selfdrive/hardware/tici/agnos.json") flash_agnos_update(manifest_path, cloudlog) + set_offroad_alert("Offroad_NeosUpdate", False) def handle_neos_update(wait_helper: WaitTimeHelper) -> None: