From e8ad31f32bc7c646f81fef95ea8ef318d55cbd3b Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Mon, 18 Apr 2022 17:08:25 -0700 Subject: [PATCH] controlsd: handle controls mismatch race (#24245) * controlsd: handle controls mismatch race * update refs old-commit-hash: 233a167cc901afcf0a0abf48fad8516609d19c99 --- selfdrive/controls/lib/events.py | 1 + selfdrive/test/process_replay/ref_commit | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/selfdrive/controls/lib/events.py b/selfdrive/controls/lib/events.py index abe4111d0a..df22d97d6b 100644 --- a/selfdrive/controls/lib/events.py +++ b/selfdrive/controls/lib/events.py @@ -724,6 +724,7 @@ EVENTS: Dict[int, Dict[str, Union[Alert, AlertCallbackType]]] = { EventName.controlsMismatch: { ET.IMMEDIATE_DISABLE: ImmediateDisableAlert("Controls Mismatch"), + ET.NO_ENTRY: NoEntryAlert("Controls Mismatch"), }, EventName.roadCameraError: { diff --git a/selfdrive/test/process_replay/ref_commit b/selfdrive/test/process_replay/ref_commit index b6b5465f31..098f651a2e 100644 --- a/selfdrive/test/process_replay/ref_commit +++ b/selfdrive/test/process_replay/ref_commit @@ -1 +1 @@ -dea753b12032ad2c50b4a163a3077a8530267800 \ No newline at end of file +22356d49a926a62c01d698d77c1f323016b68fd8 \ No newline at end of file