1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 00:05:33 +03:00

Added target default mixer, and updated REVOLT

Motors tested and correct motor spins on motors tab in configurator.
This commit is contained in:
blckmn 2017-01-19 04:24:21 +11:00
parent 2e81bd0628
commit 6f6fe4ad6f
3 changed files with 9 additions and 4 deletions

View file

@ -464,6 +464,11 @@ void resetRcControlsConfig(rcControlsConfig_t *rcControlsConfig)
void resetMixerConfig(mixerConfig_t *mixerConfig)
{
#ifdef TARGET_DEFAULT_MIXER
mixerConfig->mixerMode = TARGET_DEFAULT_MIXER;
#else
mixerConfig->mixerMode = MIXER_QUADX;
#endif
mixerConfig->yaw_motor_direction = 1;
}
@ -602,7 +607,6 @@ void createDefaultConfig(master_t *config)
#endif
config->version = EEPROM_CONF_VERSION;
config->mixerConfig.mixerMode = MIXER_QUADX;
// global settings
config->current_profile_index = 0; // default profile