fix comment regarding softserial/timer usage.
This commit is contained in:
parent
c004e48a87
commit
c07f67735e
|
@ -387,7 +387,7 @@ void pwmInit(drv_pwm_config_t *init, failsafe_t *initialFailsafe)
|
||||||
mask = TYPE_S;
|
mask = TYPE_S;
|
||||||
#endif
|
#endif
|
||||||
#ifdef STM32F303xC
|
#ifdef STM32F303xC
|
||||||
// remap PWM 5+6 or 9+10 as servos - softserial pin pairs 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) {
|
||||||
if (port == PWM5 || port == PWM6)
|
if (port == PWM5 || port == PWM6)
|
||||||
mask = TYPE_S;
|
mask = TYPE_S;
|
||||||
|
|
Loading…
Reference in New Issue