dont create the alert

pull/1807/head
Adeeb Shihadeh 5 years ago
parent 1bf15309f3
commit 7179a6c8b4
  1. 1
      selfdrive/thermald/thermald.py

@ -315,6 +315,7 @@ def thermald_thread():
update_failed_count = params.get("UpdateFailedCount")
update_failed_count = 0 if update_failed_count is None else int(update_failed_count)
if params.get("DisableUpdates") is None:
if dt.days > DAYS_NO_CONNECTIVITY_MAX and update_failed_count > 1:
if current_connectivity_alert != "expired":
current_connectivity_alert = "expired"

Loading…
Cancel
Save