From 87092acfa656aaddda7bb5fbcd00532d512f944e Mon Sep 17 00:00:00 2001 From: "Pawel Spychalski (DzikuVx)" Date: Wed, 28 Mar 2018 16:02:33 +0200 Subject: [PATCH] fixed bug --- src/main/fc/cli.c | 10 ---------- src/main/flight/mixer.c | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/src/main/fc/cli.c b/src/main/fc/cli.c index 9abef664e4..86d8d76e84 100755 --- a/src/main/fc/cli.c +++ b/src/main/fc/cli.c @@ -142,16 +142,6 @@ static void cliBootlog(char *cmdline); static const char* const emptyName = "-"; -// sync this with mixerMode_e -static const char * const mixerNames[] = { - "TRI", "QUADP", "QUADX", "BI", - "GIMBAL", "Y6", "HEX6", - "FLYING_WING", "Y4", "HEX6X", "OCTOX8", "OCTOFLATP", "OCTOFLATX", - "AIRPLANE", "HELI_120_CCPM", "HELI_90_DEG", "VTAIL4", - "HEX6H", "PPM_TO_SERVO", "DUALCOPTER", "SINGLECOPTER", - "ATAIL4", "CUSTOM", "CUSTOMAIRPLANE", "CUSTOMTRI", NULL -}; - // sync this with features_e static const char * const featureNames[] = { "RX_PPM", "VBAT", "TX_PROF_SEL", "", "MOTOR_STOP", diff --git a/src/main/flight/mixer.c b/src/main/flight/mixer.c index eb80c907c6..5ed9a64ac0 100755 --- a/src/main/flight/mixer.c +++ b/src/main/flight/mixer.c @@ -75,7 +75,7 @@ PG_RESET_TEMPLATE(mixerConfig_t, mixerConfig, .yaw_jump_prevention_limit = 200, .platformType = PLATFORM_MULTIROTOR, .hasFlaps = false, - appliedMixerPreset = -1 //This flag is not available in CLI and used by Configurator only + .appliedMixerPreset = -1 //This flag is not available in CLI and used by Configurator only ); #ifdef BRUSHED_MOTORS