From d166bd949359522b27fc78786ad8770f3a7905ac Mon Sep 17 00:00:00 2001 From: rusefi Date: Mon, 11 Dec 2017 10:07:13 -0500 Subject: [PATCH] typo --- firmware/controllers/math/pid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/controllers/math/pid.cpp b/firmware/controllers/math/pid.cpp index ea48165da2..c5ddae1867 100644 --- a/firmware/controllers/math/pid.cpp +++ b/firmware/controllers/math/pid.cpp @@ -56,7 +56,7 @@ float Pid::getValue(float target, float input, float dTime) { if (iTerm > pid->maxValue) iTerm = pid->maxValue; - // this is kind of a hack. a proper fix would be having separate additional settings 'maxIValue' and 'minIValye' + // this is kind of a hack. a proper fix would be having separate additional settings 'maxIValue' and 'minIValue' if (iTerm < -pid->maxValue) iTerm = -pid->maxValue;