RPMCapture: define period as UINT32_MAX when timed out

This commit is contained in:
Matthias Grob
2024-12-19 07:30:25 +01:00
parent 825dc47fad
commit ec4ed75264
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ void RPMCapture::Run()
} else {
// Timeout for no interrupts
_period = 0;
_period = UINT32_MAX;
ScheduleDelayed(RPM_PULSE_TIMEOUT);
}