Merge pull request #234 from AlienWiiBF/PPM_fix
AlienFlight F3 PPM receiver fix
This commit is contained in:
commit
3bec29d603
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue