mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 06:45:16 +03:00
Refactored mixer / servo init.
This commit is contained in:
parent
efa39dc0f6
commit
1a6514cd9b
5 changed files with 44 additions and 45 deletions
|
@ -581,7 +581,6 @@ void init(void)
|
|||
#endif
|
||||
|
||||
mixerInit(mixerConfig()->mixerMode);
|
||||
mixerConfigureOutput();
|
||||
|
||||
uint16_t idlePulse = motorConfig()->mincommand;
|
||||
if (featureIsEnabled(FEATURE_3D)) {
|
||||
|
@ -745,7 +744,6 @@ void init(void)
|
|||
|
||||
#ifdef USE_SERVOS
|
||||
servosInit();
|
||||
servoConfigureOutput();
|
||||
if (isMixerUsingServos()) {
|
||||
//pwm_params.useChannelForwarding = featureIsEnabled(FEATURE_CHANNEL_FORWARDING);
|
||||
servoDevInit(&servoConfig()->dev);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue