mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 00:35:39 +03:00
Moved #defines out of mixer function definitions
This commit is contained in:
parent
a303509920
commit
9a4d975077
4 changed files with 40 additions and 48 deletions
|
@ -239,10 +239,9 @@ void init(void)
|
|||
serialInit(&masterConfig.serialConfig, feature(FEATURE_SOFTSERIAL), SERIAL_PORT_NONE);
|
||||
#endif
|
||||
|
||||
#ifdef USE_SERVOS
|
||||
mixerInit(masterConfig.mixerMode, masterConfig.customMotorMixer, masterConfig.customServoMixer);
|
||||
#else
|
||||
mixerInit(masterConfig.mixerMode, masterConfig.customMotorMixer);
|
||||
#ifdef USE_SERVOS
|
||||
servoInit(masterConfig.customServoMixer);
|
||||
#endif
|
||||
|
||||
drv_pwm_config_t pwm_params;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue