1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +03:00

Enable OSD feature if USE_OSD_SD or USE_OSD_HD is defined (#12563)

This commit is contained in:
Steve Evans 2023-03-22 22:37:10 +00:00 committed by GitHub
parent 950729fffe
commit 26eaaaee6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -489,7 +489,7 @@ if (systemConfig()->configurationState == CONFIGURATION_STATE_DEFAULTS_BARE) {
#ifdef USE_LED_STRIP
featureEnableImmediate(FEATURE_LED_STRIP);
#endif
#ifdef USE_OSD_SD
#ifdef USE_OSD
featureEnableImmediate(FEATURE_OSD);
#endif
#ifdef USE_RANGEFINDER