mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 01:05:27 +03:00
Omit special case of USE_OSD_SLAVE and USE_QUAD_MIXER_ONLY
This commit is contained in:
parent
ba99a372a1
commit
93d554516a
1 changed files with 1 additions and 1 deletions
|
@ -546,7 +546,7 @@ void activateConfig(void)
|
||||||
|
|
||||||
void validateAndFixConfig(void)
|
void validateAndFixConfig(void)
|
||||||
{
|
{
|
||||||
#if !defined(USE_UNCOMMON_MIXERS) || defined(USE_QUADX_MIXER_ONLY)
|
#if !defined(USE_UNCOMMON_MIXERS) && !defined(USE_QUAD_MIXER_ONLY) && !defined(USE_OSD_SLAVE)
|
||||||
if (mixers[mixerConfigMutable()->mixerMode].motor == NULL) {
|
if (mixers[mixerConfigMutable()->mixerMode].motor == NULL) {
|
||||||
mixerConfigMutable()->mixerMode = MIXER_CUSTOM;
|
mixerConfigMutable()->mixerMode = MIXER_CUSTOM;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue