This commit is contained in:
andreika-git 2017-07-08 20:42:14 +03:00 committed by rusefi
parent fca40969e1
commit bf6f87745c
1 changed files with 3 additions and 3 deletions

View File

@ -125,10 +125,10 @@ void RpmCalculator::setRpmValue(int value DECLARE_ENGINE_PARAMETER_SUFFIX) {
} }
if (rpmValue == 0) { if (rpmValue == 0) {
state = STOPPED; state = STOPPED;
} else if (rpmValue < CONFIG(cranking.rpm)) { } else if (rpmValue >= CONFIG(cranking.rpm)) {
state = CRANKING;
} else {
state = RUNNING; state = RUNNING;
} else if (state == STOPPED) {
state = CRANKING;
} }
} }