From ba4cca62219593134d0dbce66f4dd45db89a03c6 Mon Sep 17 00:00:00 2001 From: firestarsdog <229254897+firestarsdog@users.noreply.github.com> Date: Sun, 5 Apr 2026 03:15:52 -0400 Subject: [PATCH] SLC Alert Update --- selfdrive/selfdrived/events.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/selfdrive/selfdrived/events.py b/selfdrive/selfdrived/events.py index c7e8bf612..b2cc1a029 100644 --- a/selfdrive/selfdrived/events.py +++ b/selfdrive/selfdrived/events.py @@ -266,11 +266,10 @@ def below_steer_speed_alert(CP: car.CarParams, CS: car.CarState, sm: messaging.S def speed_limit_changed_alert(CP: car.CarParams, CS: car.CarState, sm: messaging.SubMaster, metric: bool, soft_disable_time: int, personality, starpilot_toggles: SimpleNamespace) -> Alert: - speed_limit = sm["starpilotPlan"].unconfirmedSlcSpeedLimit or sm["starpilotPlan"].slcSpeedLimit return Alert( - "Speed limit detected", - f"Confirm {get_display_speed(speed_limit, metric)}?", - StarPilotAlertStatus.starpilot, AlertSize.mid, + "Speed limit changed", + "", + StarPilotAlertStatus.starpilot, AlertSize.small, Priority.LOW, VisualAlert.none, AudibleAlert.prompt, 3.0)