From 0abf99dbe01cfe87617bb293c8eb047d93f709dd Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Thu, 21 May 2020 14:53:40 -0700 Subject: [PATCH] Add permanent CAN error alert --- selfdrive/controls/lib/events.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/selfdrive/controls/lib/events.py b/selfdrive/controls/lib/events.py index 4693f0c9cc..0202119337 100644 --- a/selfdrive/controls/lib/events.py +++ b/selfdrive/controls/lib/events.py @@ -607,6 +607,11 @@ EVENTS = { EventName.canError: { ET.IMMEDIATE_DISABLE: ImmediateDisableAlert("CAN Error: Check Connections"), ET.NO_ENTRY: NoEntryAlert("CAN Error: Check Connections"), + ET.PERMANENT: Alert( + "CAN Error: Check Connections", + "", + AlertStatus.normal, AlertSize.small, + Priority.LOW, VisualAlert.none, AudibleAlert.none, 0., 0., .2), }, EventName.steerUnavailable: {