fix: configure default internal module for XJT_PXX1 (#5262)

This commit is contained in:
Peter Feerick
2024-07-08 15:47:43 +10:00
committed by GitHub
parent 6e531849e5
commit e0804575c2
+4 -3
View File
@@ -488,11 +488,12 @@ endif()
if(INTERNAL_MODULE_SERIAL)
if(DEFAULT_INTERNAL_MODULE STREQUAL ISRM_PXX2)
# defines existing internal modules
# defines default 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")
else()
# defines existing internal modules
set(INTERNAL_MODULES MULTI;CRSF CACHE STRING "Internal modules")
endif()