mirror of https://github.com/rusefi/rusefi.git
don't accidentally put it back in a 64 bit num
This commit is contained in:
parent
3127a1dcd2
commit
08378967c4
|
@ -72,7 +72,7 @@ float InstantRpmCalculator::calculateInstantRpm(
|
||||||
|
|
||||||
// now let's get precise angle for that event
|
// now let's get precise angle for that event
|
||||||
angle_t prevIndexAngle = triggerFormDetails->eventAngles[prevIndex];
|
angle_t prevIndexAngle = triggerFormDetails->eventAngles[prevIndex];
|
||||||
efitick_t time90ago = timeOfLastEvent[prevIndex];
|
auto time90ago = timeOfLastEvent[prevIndex];
|
||||||
|
|
||||||
// No previous timestamp, instant RPM isn't ready yet
|
// No previous timestamp, instant RPM isn't ready yet
|
||||||
if (time90ago == 0) {
|
if (time90ago == 0) {
|
||||||
|
|
Loading…
Reference in New Issue