X9D+ and QX7 ACCESS cannot support swapped internal modules

This commit is contained in:
Raphael Coeffic
2021-11-25 12:10:16 +01:00
committed by Raphael Coeffic
parent e440038968
commit 0c305f4237
+7 -2
View File
@@ -355,8 +355,13 @@ endif()
if(INTERNAL_MODULE_SERIAL)
# defines existing internal modules
set(INTERNAL_MODULES PXX1 PXX2 MULTI CRSF)
if(${PCBREV} STREQUAL 2019 OR ${PCBREV} STREQUAL ACCESS)
# defines existing internal modules
set(INTERNAL_MODULES PXX2)
else()
# defines existing internal modules
set(INTERNAL_MODULES PXX1 PXX2 MULTI CRSF)
endif()
add_definitions(-DINTERNAL_MODULE_SERIAL)
if(PXX_FREQUENCY STREQUAL HIGH)