Support PXX1 too
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user