R9M ACCESS / ACCST refactoring

This commit is contained in:
Bertrand Songis
2019-05-28 11:00:12 +02:00
parent 15c65a6c91
commit d8dbe5abda
9 changed files with 32 additions and 43 deletions
+3 -3
View File
@@ -46,7 +46,7 @@ option(TRACE_LUA_INTERNALS "Turn on traces for Lua internals" OFF)
option(FRSKY_STICKS "Reverse sticks for FrSky sticks" OFF)
option(NANO "Use nano newlib and binalloc")
option(NIGHTLY_BUILD_WARNING "Warn this is a nightly build" OFF)
option(MODULE_R9M_FLEX "Add R9M options for non certified firmwwares" OFF)
option(R9M_PROTO_FLEX "Add R9M options for non certified firmwwares" OFF)
option(FRSKY_RELEASE "Used to build FrSky released firmware" OFF)
# since we reset all default CMAKE compiler flags for firmware builds, provide an alternate way for user to specify additional flags.
@@ -308,8 +308,8 @@ if(NIGHTLY_BUILD_WARNING)
add_definitions(-DNIGHTLY_BUILD_WARNING)
endif()
if(MODULE_R9M_FLEX)
add_definitions(-DMODULE_R9M_FLEX)
if(R9M_PROTO_FLEX)
add_definitions(-DR9M_PROTO_FLEX)
endif()
if(FRSKY_RELEASE)