From 93e90898ddbd1bf85fd5809a43227f07cd15f1db Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Thu, 3 Dec 2020 16:54:54 +0100 Subject: [PATCH] Add event for commIssueWarning --- selfdrive/controls/lib/events.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/selfdrive/controls/lib/events.py b/selfdrive/controls/lib/events.py index bcc7b7b450..69a40cb506 100644 --- a/selfdrive/controls/lib/events.py +++ b/selfdrive/controls/lib/events.py @@ -211,6 +211,8 @@ def wrong_car_mode_alert(CP: car.CarParams, sm: messaging.SubMaster, metric: boo EVENTS: Dict[int, Dict[str, Union[Alert, Callable[[Any, messaging.SubMaster, bool], Alert]]]] = { # ********** events with no alerts ********** + EventName.comIssueWarning: {}, + # ********** events only containing alerts displayed in all states ********** EventName.debugAlert: {