1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 17:25:20 +03:00

Fix PWM failsafe by monitoring for missing pwm rise/fall signal events.

This commit is contained in:
Dominic Clifton 2014-08-20 01:32:27 +01:00
parent aa719dfe4f
commit c0a349ed60
2 changed files with 26 additions and 2 deletions

View file

@ -242,7 +242,7 @@ void processRxChannels(void)
bool shouldCheckPulse = true;
if (feature(FEATURE_FAILSAFE | FEATURE_RX_PPM)) {
if (feature(FEATURE_FAILSAFE) && feature(FEATURE_RX_PPM)) {
shouldCheckPulse = isPPMDataBeingReceived();
resetPPMDataReceivedState();
}