Skip to content

Commit

Permalink
fix: configure default internal module for XJT_PXX1
Browse files Browse the repository at this point in the history
Fixes #5261
  • Loading branch information
pfeerick committed Jul 7, 2024
1 parent d575242 commit a511d05
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions radio/src/targets/taranis/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit a511d05

Please sign in to comment.