[X9D/X7D] FrSky splash is now an option
This commit is contained in:
@@ -8,7 +8,7 @@ option(FLIGHT_MODES "Flight Modes" ON)
|
||||
option(CURVES "Curves" ON)
|
||||
option(GVARS "Global variables" OFF)
|
||||
option(GUI "GUI enabled" ON)
|
||||
option(SPLASH "Splash enabled" ON)
|
||||
set(SPLASH "DEFAULT" CACHE STRING "Splash (DEFAULT/OFF/FRSKY)")
|
||||
set(PPM_UNIT "PERCENT_PREC1" CACHE STRING "PPM display unit (US/PERCENT_PREC1/PERCENT_PREC0)")
|
||||
option(PPM_CENTER_ADJUSTABLE "PPM center adjustable" ON)
|
||||
option(PPM_LIMITS_SYMETRICAL "PPM limits symetrical" OFF)
|
||||
@@ -275,7 +275,9 @@ if(DANGEROUS_MODULE_FUNCTIONS)
|
||||
add_definitions(-DDANGEROUS_MODULE_FUNCTIONS)
|
||||
endif()
|
||||
|
||||
if(SPLASH)
|
||||
if(SPLASH STREQUAL FRSKY)
|
||||
add_definitions(-DSPLASH -DSPLASH_FRSKY)
|
||||
elseif(NOT SPLASH STREQUAL OFF)
|
||||
add_definitions(-DSPLASH)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user