mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 13:58:53 +08:00
RPM capture: publish every 1s without new data
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
committed by
Matthias Grob
parent
6241db74db
commit
f687e3d8a4
@@ -122,6 +122,7 @@ void RPMCapture::Run()
|
||||
} else {
|
||||
// Timeout for no interrupts
|
||||
_period = 0;
|
||||
ScheduleDelayed(RPM_PULSE_TIMEOUT);
|
||||
}
|
||||
|
||||
float rpm_raw{0.f};
|
||||
|
||||
Reference in New Issue
Block a user