mirror of
https://github.com/opentx/opentx.git
synced 2025-07-24 00:35:18 +03:00
Make pxx2 included by default unless explicitaly stated out
This commit is contained in:
parent
6732b26aa7
commit
e080bfc483
1 changed files with 3 additions and 8 deletions
|
@ -3,6 +3,9 @@ option(LCD_DUAL_BUFFER "Dual LCD Buffer" OFF)
|
|||
option(TARANIS_INTERNAL_PPM "Taranis internal module hack to output PPM" OFF)
|
||||
option(USEHORUSBT "X9E BT module replaced by Horus BT module" OFF)
|
||||
option(MODULE_R9M_FULLSIZE "xlite option to use full size R9M instead of mini" OFF)
|
||||
option(PXX1 "PXX1 protocol support" ON)
|
||||
option(PXX2 "PXX2 protocol support" ON)
|
||||
|
||||
|
||||
if(PCB STREQUAL X9E)
|
||||
set(PWR_BUTTON "PRESS" CACHE STRING "Pwr button type (PRESS/SWITCH)")
|
||||
|
@ -156,12 +159,6 @@ if(PCB STREQUAL XLITES)
|
|||
endif()
|
||||
|
||||
if(PCB STREQUAL XLITE OR PCB STREQUAL XLITES OR PCB STREQUAL X3)
|
||||
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)
|
||||
if(PXX_FREQUENCY STREQUAL HIGH)
|
||||
add_definitions(-DPXX_FREQUENCY_HIGH)
|
||||
|
@ -174,8 +171,6 @@ if(PCB STREQUAL XLITE OR PCB STREQUAL XLITES OR PCB STREQUAL X3)
|
|||
../common/arm/stm32/intmodule_serial_driver.cpp
|
||||
)
|
||||
else()
|
||||
set(PXX1 YES)
|
||||
option(PXX2 "PXX2 protocol support" ON)
|
||||
set(TARGET_SRC
|
||||
${TARGET_SRC}
|
||||
intmodule_pulses_driver.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue