Support PXX1 too

This commit is contained in:
3djc
2019-04-23 12:54:46 +02:00
parent 6b22f3c6b3
commit 6732b26aa7
+5 -1
View File
@@ -156,8 +156,12 @@ if(PCB STREQUAL XLITES)
endif() endif()
if(PCB STREQUAL XLITE OR PCB STREQUAL XLITES OR PCB STREQUAL X3) if(PCB STREQUAL XLITE OR PCB STREQUAL XLITES OR PCB STREQUAL X3)
option(PXX1 "PXX1 protocol support" OFF)
option(PXX2 "PXX2 protocol support" ON) option(PXX2 "PXX2 protocol support" ON)
if(FRSKY_RELEASE)
option(PXX1 "PXX1 protocol support" OFF)
else()
option(PXX1 "PXX1 protocol support" ON)
endif()
add_definitions(-DINTERNAL_MODULE_SERIAL) add_definitions(-DINTERNAL_MODULE_SERIAL)
if(PXX_FREQUENCY STREQUAL HIGH) if(PXX_FREQUENCY STREQUAL HIGH)
add_definitions(-DPXX_FREQUENCY_HIGH) add_definitions(-DPXX_FREQUENCY_HIGH)