Add permanent CAN error alert

old-commit-hash: 0abf99dbe0
commatwo_master
Willem Melching 5 years ago
parent e57247be9d
commit 5e4ada7249
  1. 5
      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: {

Loading…
Cancel
Save