mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 08:15:30 +03:00
parent
cfa0d68679
commit
0720fcf463
1 changed files with 6 additions and 0 deletions
|
@ -242,6 +242,12 @@ pwmOutputConfiguration_t *pwmInit(drv_pwm_config_t *init)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(SPRACINGF3EVO)
|
||||||
|
// remap PWM6+7 as servos
|
||||||
|
if ((timerIndex == PWM8 || timerIndex == PWM9) && timerHardwarePtr->tim == TIM3)
|
||||||
|
type = MAP_TO_SERVO_OUTPUT;
|
||||||
|
#endif
|
||||||
|
|
||||||
#if (defined(STM32F3DISCOVERY) && !defined(CHEBUZZF3))
|
#if (defined(STM32F3DISCOVERY) && !defined(CHEBUZZF3))
|
||||||
// remap PWM 5+6 or 9+10 as servos - softserial pin pairs require timer ports that use the same timer
|
// remap PWM 5+6 or 9+10 as servos - softserial pin pairs require timer ports that use the same timer
|
||||||
if (init->useSoftSerial) {
|
if (init->useSoftSerial) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue