auto-sync

This commit is contained in:
rusEfi 2015-03-14 20:04:59 -05:00
parent 7a4df79eee
commit a5ba845167
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ RpmCalculator::RpmCalculator() {
bool RpmCalculator::isRunning(DECLARE_ENGINE_PARAMETER_F) {
uint64_t nowNt = getTimeNowNt();
if (engine->stopEngineRequestTimeNt != 0) {
if (nowNt - lastRpmEventTimeNt < 3 * US2NT(US_PER_SECOND_LL)) {
if (nowNt - engine->stopEngineRequestTimeNt < 3 * US2NT(US_PER_SECOND_LL)) {
return false;
}
}