Fix oneshot kills RX_PPM

This commit is contained in:
Your Name 2016-02-19 09:18:39 +01:00 committed by borisbstyle
parent 850700df14
commit 0d2bf3184c
2 changed files with 6 additions and 1 deletions

View File

@ -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) {

View File

@ -61,7 +61,7 @@
#define USE_MAG_AK8975
#define USE_MAG_HMC5883 // External
#define MAG_AK8975_ALIGN CW270_DEG_FLIP
#define MAG_AK8975_ALIGN CW90_DEG_FLIP
#define SONAR
#define BEEPER