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:
parent
aa719dfe4f
commit
c0a349ed60
2 changed files with 26 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue