auto-sync
This commit is contained in:
parent
7a4df79eee
commit
a5ba845167
|
@ -61,7 +61,7 @@ RpmCalculator::RpmCalculator() {
|
||||||
bool RpmCalculator::isRunning(DECLARE_ENGINE_PARAMETER_F) {
|
bool RpmCalculator::isRunning(DECLARE_ENGINE_PARAMETER_F) {
|
||||||
uint64_t nowNt = getTimeNowNt();
|
uint64_t nowNt = getTimeNowNt();
|
||||||
if (engine->stopEngineRequestTimeNt != 0) {
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue