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-19 07:30:25 +01:00
committed by Matthias Grob
parent 6241db74db
commit f687e3d8a4
+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};