something is not right here :(
This commit is contained in:
parent
274da1426d
commit
4b29af6e96
|
@ -60,8 +60,7 @@ RpmCalculator::RpmCalculator() {
|
||||||
lastRpmEventTimeNt = (efitime_t) -10 * US2NT(US_PER_SECOND_LL);
|
lastRpmEventTimeNt = (efitime_t) -10 * US2NT(US_PER_SECOND_LL);
|
||||||
revolutionCounterSinceBootForUnitTest = 0;
|
revolutionCounterSinceBootForUnitTest = 0;
|
||||||
|
|
||||||
// WAT? how come removing this from here breaks tests if same zero default value
|
// WAT? this was just assigned a non-zero value a few lines above? which one is right?
|
||||||
// is defined in field definition?
|
|
||||||
lastRpmEventTimeNt = 0;
|
lastRpmEventTimeNt = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue