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:
parent
14a7c805c1
commit
90e862b97a
8 changed files with 7 additions and 8 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue