Skip to content

Commit

Permalink
startupMaster: change alert_status from userPrompt to normal
Browse files Browse the repository at this point in the history
  • Loading branch information
Edison-CBS committed Jul 19, 2023
1 parent c6b9fff commit 55b70b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion selfdrive/controls/lib/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 55b70b5

Please sign in to comment.