Skip to content

Commit

Permalink
allow brake hold
Browse files Browse the repository at this point in the history
  • Loading branch information
sshane committed Jan 15, 2025
1 parent 38fad75 commit 087548a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions selfdrive/selfdrived/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -634,8 +634,11 @@ def personality_changed_alert(CP: car.CarParams, CS: car.CarState, sm: messaging
},

EventName.brakeHold: {
ET.USER_DISABLE: EngagementAlert(AudibleAlert.disengage),
ET.NO_ENTRY: NoEntryAlert("Brake Hold Active"),
ET.WARNING: Alert(
"Press Resume to Exit Brake Hold",
"",
AlertStatus.userPrompt, AlertSize.small,
Priority.LOW, VisualAlert.none, AudibleAlert.none, .2),
},

EventName.parkBrake: {
Expand Down

0 comments on commit 087548a

Please sign in to comment.