RPM refactoring

This commit is contained in:
rusefi 2017-07-07 06:42:51 -04:00
parent 989828b30f
commit 3e8785b060
1 changed files with 1 additions and 2 deletions

View File

@ -72,8 +72,7 @@ bool RpmCalculator::isCranking(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
* @return true if there was a full shaft revolution within the last second * @return true if there was a full shaft revolution within the last second
*/ */
bool RpmCalculator::isRunning(DECLARE_ENGINE_PARAMETER_SIGNATURE) { bool RpmCalculator::isRunning(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
// return rpmValue >= CONFIG(cranking.rpm); return rpmValue >= CONFIG(cranking.rpm);
return checkIfSpinning(PASS_ENGINE_PARAMETER_SIGNATURE);
} }
bool RpmCalculator::checkIfSpinning(DECLARE_ENGINE_PARAMETER_SIGNATURE) { bool RpmCalculator::checkIfSpinning(DECLARE_ENGINE_PARAMETER_SIGNATURE) {