mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 13:33:33 +08:00
RPMCapture: define period as UINT32_MAX when timed out
This commit is contained in:
@@ -125,7 +125,7 @@ void RPMCapture::Run()
|
||||
|
||||
} else {
|
||||
// Timeout for no interrupts
|
||||
_period = 0;
|
||||
_period = UINT32_MAX;
|
||||
ScheduleDelayed(RPM_PULSE_TIMEOUT);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user