feat: Flysky PL18 Support (#4105)
Co-authored-by: raphaelcoeffic <raphael.coeffic@frafos.com> Co-authored-by: rotorman <risto.koiva@web.de> Co-authored-by: Xy201207 <yaoxu@flysky.com> Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
This commit is contained in:
co-authored by
raphaelcoeffic
rotorman
Xy201207
Peter Feerick
parent
5153aaeea0
commit
cc17046e7a
@@ -22,17 +22,19 @@ option(DEBUG_USB_INTERRUPTS "Count individual USB interrupts" OFF)
|
||||
option(DEBUG_TIMERS "Time critical parts of the code" OFF)
|
||||
option(DEBUG_BLUETOOTH "Debug Bluetooth" OFF)
|
||||
|
||||
# option to select the default internal module
|
||||
#set(DEFAULT_INTERNAL_MODULE NONE CACHE STRING "Default internal module")
|
||||
set_property(CACHE DEFAULT_INTERNAL_MODULE PROPERTY STRINGS ${INTERNAL_MODULES})
|
||||
if(INTERNAL_MODULES)
|
||||
# option to select the default internal module
|
||||
#set(DEFAULT_INTERNAL_MODULE NONE CACHE STRING "Default internal module")
|
||||
set_property(CACHE DEFAULT_INTERNAL_MODULE PROPERTY STRINGS ${INTERNAL_MODULES})
|
||||
|
||||
# define variables for internal modules
|
||||
foreach(module ${INTERNAL_MODULES})
|
||||
set(INTERNAL_MODULE_${module} ON CACHE BOOL "Support for ${module} internal module")
|
||||
if (INTERNAL_MODULE_${module})
|
||||
message("-- Adding support for ${module} as internal module")
|
||||
endif()
|
||||
endforeach()
|
||||
# define variables for internal modules
|
||||
foreach(module ${INTERNAL_MODULES})
|
||||
set(INTERNAL_MODULE_${module} ON CACHE BOOL "Support for ${module} internal module")
|
||||
if (INTERNAL_MODULE_${module})
|
||||
message("-- Adding support for ${module} as internal module")
|
||||
endif()
|
||||
endforeach()
|
||||
endif()
|
||||
|
||||
if(INTERNAL_MODULE_PXX1)
|
||||
add_definitions(-DHARDWARE_INTERNAL_MODULE)
|
||||
|
||||
Reference in New Issue
Block a user