Skip to content

Commit

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

0 comments on commit 1a5a59d

Please sign in to comment.