Toyota: allow brake hold (#34394)

toyota okay
This commit is contained in:
Shane Smiskol
2025-01-15 15:03:22 -08:00
committed by GitHub
parent 707a845218
commit 69d33ac11d
+1 -1
View File
@@ -191,7 +191,7 @@ class CarSpecificEvents:
events.add(EventName.speedTooHigh)
if CS.cruiseState.nonAdaptive:
events.add(EventName.wrongCruiseMode)
if CS.brakeHoldActive and self.CP.openpilotLongitudinalControl:
if CS.brakeHoldActive and self.CP.openpilotLongitudinalControl and self.CP.carName != 'toyota':
events.add(EventName.brakeHold)
if CS.parkingBrake:
events.add(EventName.parkBrake)