mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 05:15:25 +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)) {
|
if (init->useOneshot || isMotorBrushed(init->motorPwmRate)) {
|
||||||
ppmAvoidPWMTimerClash(timerHardwarePtr, TIM2);
|
ppmAvoidPWMTimerClash(timerHardwarePtr, TIM2);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
#ifdef SPRACINGF3MINI
|
||||||
|
if (init->useOneshot || isMotorBrushed(init->motorPwmRate)) {
|
||||||
|
ppmAvoidPWMTimerClash(timerHardwarePtr, TIM3);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
ppmInConfig(timerHardwarePtr);
|
ppmInConfig(timerHardwarePtr);
|
||||||
} else if (type == MAP_TO_PWM_INPUT) {
|
} else if (type == MAP_TO_PWM_INPUT) {
|
||||||
|
|
|
@ -61,7 +61,7 @@
|
||||||
#define USE_MAG_AK8975
|
#define USE_MAG_AK8975
|
||||||
#define USE_MAG_HMC5883 // External
|
#define USE_MAG_HMC5883 // External
|
||||||
|
|
||||||
#define MAG_AK8975_ALIGN CW270_DEG_FLIP
|
#define MAG_AK8975_ALIGN CW90_DEG_FLIP
|
||||||
|
|
||||||
#define SONAR
|
#define SONAR
|
||||||
#define BEEPER
|
#define BEEPER
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue