This commit is contained in:
Raphael Coeffic
2021-07-31 18:46:38 +02:00
parent cf480b03a3
commit 0e4201f25d
15 changed files with 350 additions and 194 deletions
+2 -1
View File
@@ -470,7 +470,8 @@ set(TARGET_SRC
set(FIRMWARE_TARGET_SRC
${FIRMWARE_TARGET_SRC}
../common/arm/stm32/adc_driver.cpp
../common/arm/stm32/stm32_hal_adc.cpp
../../hal/adc_driver.cpp
../common/arm/stm32/heartbeat_driver.cpp
../common/arm/stm32/mixer_scheduler_driver.cpp
)
+4 -1
View File
@@ -20,6 +20,9 @@
#include "opentx.h"
#include "hal/adc_driver.h"
#include "stm32_hal_adc.h"
#if defined(__cplusplus)
extern "C" {
#endif
@@ -159,7 +162,7 @@ void boardInit()
}
#endif
adcInit();
adcInit(&stm32_hal_adc_driver);
lcdInit(); // delaysInit() must be called before
audioInit();
init2MhzTimer();