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

Feature OSD moved to defaults features to enable, not just if OSD is compiled in

This commit is contained in:
blckmn 2017-02-20 03:36:46 +11:00
parent 14a7c805c1
commit 90e862b97a
8 changed files with 7 additions and 8 deletions

View file

@ -578,6 +578,7 @@ void createDefaultConfig(master_t *config)
intFeatureClearAll(featuresPtr);
intFeatureSet(DEFAULT_RX_FEATURE | FEATURE_FAILSAFE , featuresPtr);
#ifdef DEFAULT_FEATURES
intFeatureSet(DEFAULT_FEATURES, featuresPtr);
#endif
@ -594,7 +595,6 @@ void createDefaultConfig(master_t *config)
#endif
#ifdef OSD
intFeatureSet(FEATURE_OSD, featuresPtr);
osdResetConfig(&config->osdProfile);
#endif