mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 20:35:33 +03:00
fixed motor output when using spektrum.
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@151 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
This commit is contained in:
parent
26b2031e24
commit
910df63a7f
3 changed files with 1709 additions and 1707 deletions
|
@ -388,6 +388,8 @@ bool pwmInit(drv_pwm_config_t *init)
|
|||
|
||||
TIM_Cmd(TIM3, ENABLE);
|
||||
TIM_CtrlPWMOutputs(TIM3, ENABLE);
|
||||
// configure number of PWM outputs, in PPM/spektrum mode, we use bottom 4 channels more more motors
|
||||
numOutputChannels = 10;
|
||||
}
|
||||
|
||||
#if 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue