fixing build
This commit is contained in:
parent
63a8586503
commit
7a073e1df3
|
@ -98,7 +98,7 @@ bool RpmCalculator::checkIfSpinning(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
||||||
* note that the result of this subtraction could be negative, that would happen if
|
* note that the result of this subtraction could be negative, that would happen if
|
||||||
* we have a trigger event between the time we've invoked 'getTimeNow' and here
|
* we have a trigger event between the time we've invoked 'getTimeNow' and here
|
||||||
*/
|
*/
|
||||||
bool noEventsForTooLong = nowNt - lastRpmEventTimeNt < US2NT(2 * US_PER_SECOND_LL); // Anything below 60 rpm is not running
|
bool noEventsForTooLong = nowNt - lastRpmEventTimeNt >= US2NT(2 * US_PER_SECOND_LL); // Anything below 60 rpm is not running
|
||||||
if (noEventsForTooLong) {
|
if (noEventsForTooLong) {
|
||||||
setStopped(PASS_ENGINE_PARAMETER_SIGNATURE);
|
setStopped(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue