From 08378967c48f5993862a19bbd7772cb72681b0bc Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Thu, 25 Apr 2024 16:54:27 -0700 Subject: [PATCH] don't accidentally put it back in a 64 bit num --- firmware/controllers/trigger/instant_rpm_calculator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/controllers/trigger/instant_rpm_calculator.cpp b/firmware/controllers/trigger/instant_rpm_calculator.cpp index 62547dc773..1aafa84728 100644 --- a/firmware/controllers/trigger/instant_rpm_calculator.cpp +++ b/firmware/controllers/trigger/instant_rpm_calculator.cpp @@ -72,7 +72,7 @@ float InstantRpmCalculator::calculateInstantRpm( // now let's get precise angle for that event angle_t prevIndexAngle = triggerFormDetails->eventAngles[prevIndex]; - efitick_t time90ago = timeOfLastEvent[prevIndex]; + auto time90ago = timeOfLastEvent[prevIndex]; // No previous timestamp, instant RPM isn't ready yet if (time90ago == 0) {