RPM capture: publish every 1s without new data

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
Silvan Fuhrer
2024-12-10 19:14:54 +01:00
committed by Matthias Grob
parent 42acadc882
commit 8ef8cc0480
+1
View File
@@ -122,6 +122,7 @@ void RPMCapture::Run()
} else {
// Timeout for no interrupts
_period = 0;
ScheduleDelayed(RPM_PULSE_TIMEOUT);
}
float rpm_raw{0.f};