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:
parent
2e81bd0628
commit
6f6fe4ad6f
3 changed files with 9 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue