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

* fix incorrect base rpm issue

* "min" name is better
This commit is contained in:
Justin Newberry
2023-08-21 14:54:42 -07:00
committed by GitHub
parent bfa714ef3b
commit b20eba5f1d
+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 ***