WiP
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user