Merge pull request #234 from AlienWiiBF/PPM_fix

AlienFlight F3 PPM receiver fix
This commit is contained in:
borisbstyle 2016-03-01 22:03:51 +01:00
commit 3bec29d603
1 changed files with 1 additions and 1 deletions

View File

@ -780,7 +780,7 @@ if (init->useBuzzerP6) {
#endif #endif
if (type == MAP_TO_PPM_INPUT) { if (type == MAP_TO_PPM_INPUT) {
#ifdef SPARKY #if defined(SPARKY) || defined(ALIENFLIGHTF3)
if (init->useOneshot || isMotorBrushed(init->motorPwmRate)) { if (init->useOneshot || isMotorBrushed(init->motorPwmRate)) {
ppmAvoidPWMTimerClash(timerHardwarePtr, TIM2); ppmAvoidPWMTimerClash(timerHardwarePtr, TIM2);
} }