Fix two event names

old-commit-hash: 631d0d94d3
vw-mqb-aeb
Willem Melching 5 years ago
parent fdd11d0892
commit 380d1e4f3d
  1. 4
      selfdrive/controls/lib/events.py

@ -324,7 +324,7 @@ EVENTS = {
EventName.driverDistracted: { EventName.driverDistracted: {
ET.WARNING: Alert( ET.WARNING: Alert(
"DISEventName.AGE IMMEDIATELY", "DISENGAGE IMMEDIATELY",
"Driver Was Distracted", "Driver Was Distracted",
AlertStatus.critical, AlertSize.full, AlertStatus.critical, AlertSize.full,
Priority.HIGH, VisualAlert.steerRequired, AudibleAlert.chimeWarningRepeat, .1, .1, .1), Priority.HIGH, VisualAlert.steerRequired, AudibleAlert.chimeWarningRepeat, .1, .1, .1),
@ -348,7 +348,7 @@ EVENTS = {
EventName.driverUnresponsive: { EventName.driverUnresponsive: {
ET.WARNING: Alert( ET.WARNING: Alert(
"DISEventName.AGE IMMEDIATELY", "DISENGAGE IMMEDIATELY",
"Driver Was Unresponsive", "Driver Was Unresponsive",
AlertStatus.critical, AlertSize.full, AlertStatus.critical, AlertSize.full,
Priority.HIGH, VisualAlert.steerRequired, AudibleAlert.chimeWarningRepeat, .1, .1, .1), Priority.HIGH, VisualAlert.steerRequired, AudibleAlert.chimeWarningRepeat, .1, .1, .1),

Loading…
Cancel
Save