diff --git a/firmware/controllers/trigger/rpm_calculator.cpp b/firmware/controllers/trigger/rpm_calculator.cpp index c5f9cac2c4..605dd47e94 100644 --- a/firmware/controllers/trigger/rpm_calculator.cpp +++ b/firmware/controllers/trigger/rpm_calculator.cpp @@ -65,7 +65,7 @@ bool RpmCalculator::isStopped(DECLARE_ENGINE_PARAMETER_SIGNATURE) { } bool RpmCalculator::isCranking(DECLARE_ENGINE_PARAMETER_SIGNATURE) { - return ((rpmValue) > 0 && (rpmValue) < CONFIG(cranking.rpm)); + return state == CRANKING; } /** diff --git a/firmware/rusefi.cpp b/firmware/rusefi.cpp index 68caedfe01..5775593668 100644 --- a/firmware/rusefi.cpp +++ b/firmware/rusefi.cpp @@ -260,5 +260,5 @@ int getRusEfiVersion(void) { if (initBootloader() != 0) return 123; #endif /* EFI_BOOTLOADER_INCLUDE_CODE */ - return 20170705; + return 20170706; }