WiP: support internal module as a hardware setting

This commit is contained in:
Raphael Coeffic
2021-11-25 12:10:16 +01:00
committed by Raphael Coeffic
parent b3cbf73aa0
commit ae552bd6fd
23 changed files with 467 additions and 430 deletions
+4
View File
@@ -49,6 +49,10 @@ add_definitions(-DPCBNV14 -DPCBFLYSKY -DINTERNAL_MODULE_SERIAL -DAFHDS2_BAUDRATE
add_definitions(-DBATTERY_CHARGE) # -DSOFTWARE_VOLUME
add_definitions(-DINTERNAL_MODULE_AFHDS2A)
# defines existing internal modules
set(INTERNAL_MODULES AFHDS2A)
set(DEFAULT_INTERNAL_MODULE FLYSKY CACHE STRING "Default internal module")
set(TARGET_SRC
${TARGET_SRC}
audio_spi_driver.cpp