mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
Merge pull request #234 from AlienWiiBF/PPM_fix
AlienFlight F3 PPM receiver fix
This commit is contained in:
commit
3bec29d603
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue