From 55b70b5a29dd443d28960b8940cbc9619bc2ab6a Mon Sep 17 00:00:00 2001 From: Edison-CBS Date: Wed, 19 Jul 2023 21:17:40 +0800 Subject: [PATCH] startupMaster: change alert_status from userPrompt to normal --- selfdrive/controls/lib/events.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/selfdrive/controls/lib/events.py b/selfdrive/controls/lib/events.py index 21ef943f27d0030..2cd53b02cc8bd86 100644 --- a/selfdrive/controls/lib/events.py +++ b/selfdrive/controls/lib/events.py @@ -227,7 +227,8 @@ 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.userPrompt) + return StartupAlert("WARNING: This branch is not tested", branch, alert_status=AlertStatus.normal) 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")