add 1 second delay to acc pedal alert (#2221)

So that the screen wouldn't appear to "flicker" when openpilot is engaged while the acc pedal is being released
This commit is contained in:
cydia2020
2020-09-29 09:17:21 +10:00
committed by GitHub
parent 2490be762d
commit 6d5b2af3f2
+1 -1
View File
@@ -334,7 +334,7 @@ EVENTS: Dict[int, Dict[str, Union[Alert, Callable[[Any, messaging.SubMaster, boo
"openpilot will not brake while gas pressed",
"",
AlertStatus.normal, AlertSize.small,
Priority.LOWEST, VisualAlert.none, AudibleAlert.none, .0, .0, .1),
Priority.LOWEST, VisualAlert.none, AudibleAlert.none, .0, .0, .1, creation_delay=1.),
},
EventName.vehicleModelInvalid: {