reduce startup alert duration (#28749)

* reduce startup alert duration

* update refs
pull/28751/head
Adeeb Shihadeh 2 years ago committed by GitHub
parent e090bd81f2
commit 336b5f7324
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      selfdrive/controls/lib/events.py
  2. 2
      selfdrive/test/process_replay/ref_commit

@ -193,7 +193,7 @@ class StartupAlert(Alert):
def __init__(self, alert_text_1: str, alert_text_2: str = "Always keep hands on wheel and eyes on road", alert_status=AlertStatus.normal): def __init__(self, alert_text_1: str, alert_text_2: str = "Always keep hands on wheel and eyes on road", alert_status=AlertStatus.normal):
super().__init__(alert_text_1, alert_text_2, super().__init__(alert_text_1, alert_text_2,
alert_status, AlertSize.mid, alert_status, AlertSize.mid,
Priority.LOWER, VisualAlert.none, AudibleAlert.none, 10.), Priority.LOWER, VisualAlert.none, AudibleAlert.none, 5.),
# ********** helper functions ********** # ********** helper functions **********

@ -1 +1 @@
7a045a0d17a73bf77c220a16e4d2c0eedc73cfb8 35eb63be5d31ad443da70be29836ce695206d54d

Loading…
Cancel
Save