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
3410
obj/baseflight.hex
3410
obj/baseflight.hex
File diff suppressed because it is too large
Load Diff
|
@ -189,8 +189,8 @@
|
|||
:100BB0006D653A2000000000140100202C2049320D
|
||||
:100BC00043204572726F72733A2000004166726F63
|
||||
:100BD000333220434C492076657273696F6E203240
|
||||
:100BE0002E30204D61792020312032303132202FBB
|
||||
:100BF0002030393A30333A3433000000F20100201B
|
||||
:100BE0002E30204D61792020342032303132202FB8
|
||||
:100BF0002031303A35373A3436000000F201002017
|
||||
:100C00000D0A456E746572696E6720434C49204D2C
|
||||
:100C10006F64652C20747970652027657869742766
|
||||
:100C200020746F2072657475726E2C206F7220278D
|
||||
|
|
|
@ -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…
Reference in New Issue