From ee619349fca3c0c8082e5db217f9e2c0f4b66210 Mon Sep 17 00:00:00 2001 From: blckmn Date: Wed, 26 Oct 2022 07:36:55 +1100 Subject: [PATCH] Moving OSD to cloud build option --- src/main/target/common_pre.h | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/main/target/common_pre.h b/src/main/target/common_pre.h index 1228a32fb..67da45fca 100644 --- a/src/main/target/common_pre.h +++ b/src/main/target/common_pre.h @@ -372,10 +372,7 @@ extern uint8_t _dmaram_end__; #define USE_CANVAS #define USE_FRSKYOSD #define USE_GYRO_DLPF_EXPERIMENTAL -#define USE_OSD -#define USE_OSD_OVER_MSP_DISPLAYPORT #define USE_MULTI_GYRO -#define USE_OSD_ADJUSTMENTS #define USE_SENSOR_NAMES #define USE_UNCOMMON_MIXERS #define USE_SIGNATURE @@ -385,8 +382,6 @@ extern uint8_t _dmaram_end__; #define USE_VARIO #define USE_RX_LINK_QUALITY_INFO #define USE_ESC_SENSOR_TELEMETRY -#define USE_OSD_PROFILES -#define USE_OSD_STICK_OVERLAY #define USE_CMS_FAILSAFE_MENU #define USE_CMS_GPS_RESCUE_MENU #define USE_TELEMETRY_SENSORS_DISABLED_DETAILS @@ -414,6 +409,15 @@ extern uint8_t _dmaram_end__; #define USE_GPS_NMEA #define USE_GPS_UBLOX #define USE_GPS_RESCUE + +#define USE_OSD +#endif + +#ifdef USE_OSD +#define USE_OSD_OVER_MSP_DISPLAYPORT +#define USE_OSD_ADJUSTMENTS +#define USE_OSD_PROFILES +#define USE_OSD_STICK_OVERLAY #endif #endif -- 2.11.4.GIT