Make list of supported internal module configurable per cmake option
Resolves #1159
This commit is contained in:
committed by
Peter Feerick
parent
eabb20a9ad
commit
b8335b994f
@@ -50,7 +50,7 @@ add_definitions(-DBATTERY_CHARGE) # -DSOFTWARE_VOLUME
|
||||
add_definitions(-DINTERNAL_MODULE_AFHDS2A)
|
||||
|
||||
# defines existing internal modules
|
||||
set(INTERNAL_MODULES AFHDS2A)
|
||||
set(INTERNAL_MODULES AFHDS2A CACHE STRING "Internal modules")
|
||||
set(DEFAULT_INTERNAL_MODULE FLYSKY CACHE STRING "Default internal module")
|
||||
|
||||
set(TARGET_SRC
|
||||
|
||||
Reference in New Issue
Block a user