mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 12:55:19 +03:00
Fix oneshot kills RX_PPM
This commit is contained in:
parent
850700df14
commit
0d2bf3184c
2 changed files with 6 additions and 1 deletions
|
@ -784,6 +784,11 @@ if (init->useBuzzerP6) {
|
|||
if (init->useOneshot || isMotorBrushed(init->motorPwmRate)) {
|
||||
ppmAvoidPWMTimerClash(timerHardwarePtr, TIM2);
|
||||
}
|
||||
#endif
|
||||
#ifdef SPRACINGF3MINI
|
||||
if (init->useOneshot || isMotorBrushed(init->motorPwmRate)) {
|
||||
ppmAvoidPWMTimerClash(timerHardwarePtr, TIM3);
|
||||
}
|
||||
#endif
|
||||
ppmInConfig(timerHardwarePtr);
|
||||
} else if (type == MAP_TO_PWM_INPUT) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue