From 33a3bb5fc9c5e9fbfb04e730d5cded4341aa0829 Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Mon, 14 Jun 2021 12:38:33 +0200 Subject: [PATCH] Revert "tici: always run updated (#21249)" This reverts commit 60ba93bd1be24e022552da1545dca9b61d2584b7. old-commit-hash: 715dbd488201615219dc7b384c458954940597fa --- selfdrive/updated.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/updated.py b/selfdrive/updated.py index 1c574551b3..ad2d880105 100755 --- a/selfdrive/updated.py +++ b/selfdrive/updated.py @@ -371,7 +371,7 @@ def main(): # Don't run updater while onroad or if the time's wrong time_wrong = datetime.datetime.utcnow().year < 2019 is_onroad = not params.get_bool("IsOffroad") - if (is_onroad and EON) or time_wrong: + if is_onroad or time_wrong: wait_helper.sleep(30) cloudlog.info("not running updater, not offroad") continue