fix: configure default internal module for XJT_PXX1 (#5262)
This commit is contained in:
@@ -488,11 +488,12 @@ endif()
|
|||||||
|
|
||||||
if(INTERNAL_MODULE_SERIAL)
|
if(INTERNAL_MODULE_SERIAL)
|
||||||
|
|
||||||
if(DEFAULT_INTERNAL_MODULE STREQUAL ISRM_PXX2)
|
# defines default internal modules
|
||||||
# defines existing internal modules
|
if(DEFAULT_INTERNAL_MODULE STREQUAL XJT_PXX1)
|
||||||
|
set(INTERNAL_MODULES PXX1 CACHE STRING "Internal modules")
|
||||||
|
elseif(DEFAULT_INTERNAL_MODULE STREQUAL ISRM_PXX2)
|
||||||
set(INTERNAL_MODULES PXX2 CACHE STRING "Internal modules")
|
set(INTERNAL_MODULES PXX2 CACHE STRING "Internal modules")
|
||||||
else()
|
else()
|
||||||
# defines existing internal modules
|
|
||||||
set(INTERNAL_MODULES MULTI;CRSF CACHE STRING "Internal modules")
|
set(INTERNAL_MODULES MULTI;CRSF CACHE STRING "Internal modules")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user