fix: Allow compile without multimodule support (#3750)

This commit is contained in:
3djc
2023-07-03 19:07:02 +10:00
committed by GitHub
parent 1820ff8d5c
commit 8f0ad3fca8
6 changed files with 20 additions and 8 deletions
@@ -181,6 +181,7 @@ endif()
if(PPM)
add_definitions(-DPPM)
set(SRC ${SRC} telemetry/mlink.cpp)
endif()
if(DSM2)
@@ -224,6 +225,7 @@ if(MULTIMODULE)
add_definitions(-DMULTIMODULE)
set(SRC ${SRC} pulses/multi.cpp telemetry/hitec.cpp telemetry/hott.cpp telemetry/mlink.cpp telemetry/multi.cpp io/multi_firmware_update.cpp)
endif()
if(MULTIMODULE OR AFHDS3)
set(SRC ${SRC} telemetry/flysky_ibus.cpp)
endif()