From cfa5e7f033939877b845f1f191e9666334266445 Mon Sep 17 00:00:00 2001 From: jflyper Date: Tue, 6 Feb 2018 01:48:57 +0900 Subject: [PATCH] Flag rxDataProcessingRequired for PPM and PWM --- src/main/rx/rx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/rx/rx.c b/src/main/rx/rx.c index cf4bd3bdf..15a5d8552 100644 --- a/src/main/rx/rx.c +++ b/src/main/rx/rx.c @@ -399,6 +399,7 @@ bool rxUpdateCheck(timeUs_t currentTimeUs, timeDelta_t currentDeltaTime) #if defined(USE_PWM) || defined(USE_PPM) if (feature(FEATURE_RX_PPM)) { if (isPPMDataBeingReceived()) { + rxDataProcessingRequired = true; rxSignalReceived = true; rxIsInFailsafeMode = false; needRxSignalBefore = currentTimeUs + needRxSignalMaxDelayUs; @@ -406,6 +407,7 @@ bool rxUpdateCheck(timeUs_t currentTimeUs, timeDelta_t currentDeltaTime) } } else if (feature(FEATURE_RX_PARALLEL_PWM)) { if (isPWMDataBeingReceived()) { + rxDataProcessingRequired = true; rxSignalReceived = true; rxIsInFailsafeMode = false; needRxSignalBefore = currentTimeUs + needRxSignalMaxDelayUs;