Stefan, I want to drink from the same fountain of patience

This commit is contained in:
rusefi 2020-07-12 15:00:44 -04:00
parent 5d1f179ac2
commit 1ae1af46d8
1 changed files with 2 additions and 2 deletions

View File

@ -286,8 +286,8 @@ float PidIndustrial::getOutput(float target, float input, float dTime) {
}
float PidIndustrial::limitOutput(float v) const {
if (v < parameters->minValue)
v = parameters->minValue;
if (v < getMinValue())
v = getMinValue();
if (v > parameters->maxValue)
v = parameters->maxValue;
return v;