Subaru: longitudinal incorrect "inactive" rpm (#29496)

* fix incorrect base rpm issue

* "min" name is better
old-commit-hash: b20eba5f1d28ae623eecf5dbbc22f67ff02d3609
This commit is contained in:
Justin Newberry
2023-08-21 14:54:42 -07:00
committed by GitHub
parent c322a93e1b
commit bb3a0f883b
+1 -1
View File
@@ -55,7 +55,7 @@ class CarController:
cruise_brake = clip(apply_brake, CarControllerParams.BRAKE_MIN, CarControllerParams.BRAKE_MAX)
else:
cruise_throttle = CarControllerParams.THROTTLE_INACTIVE
cruise_rpm = CarControllerParams.RPM_INACTIVE
cruise_rpm = CarControllerParams.RPM_MIN
cruise_brake = CarControllerParams.BRAKE_MIN
# *** alerts and pcm cancel ***