From 1a5a59d202b242f6f7c8d62dcebc44747ac01b94 Mon Sep 17 00:00:00 2001 From: Edison-CBS Date: Sat, 22 Jul 2023 11:09:47 +0800 Subject: [PATCH] Revert "startupMaster: change alert_status from userPrompt to normal" This reverts commit 55b70b5a29dd443d28960b8940cbc9619bc2ab6a. --- selfdrive/controls/lib/events.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/selfdrive/controls/lib/events.py b/selfdrive/controls/lib/events.py index 026720d0e11752..ae90c5aae1c786 100755 --- a/selfdrive/controls/lib/events.py +++ b/selfdrive/controls/lib/events.py @@ -227,8 +227,7 @@ def startup_master_alert(CP: car.CarParams, CS: car.CarState, sm: messaging.SubM if "REPLAY" in os.environ: branch = "replay" - # return StartupAlert("WARNING: This branch is not tested", branch, alert_status=AlertStatus.userPrompt) - return StartupAlert("WARNING: This branch is not tested", branch, alert_status=AlertStatus.normal) + return StartupAlert("WARNING: This branch is not tested", branch, alert_status=AlertStatus.userPrompt) def below_engage_speed_alert(CP: car.CarParams, CS: car.CarState, sm: messaging.SubMaster, metric: bool, soft_disable_time: int) -> Alert: return NoEntryAlert(f"Drive above {get_display_speed(CP.minEnableSpeed, metric)} to engage")