Integrate NV14 ADC driver into generic stm32_hal_driver

This commit is contained in:
Raphael Coeffic
2021-07-31 18:46:40 +02:00
parent 897d2f3025
commit f1fd6dde02
12 changed files with 147 additions and 425 deletions
+5 -1
View File
@@ -20,6 +20,10 @@
#include "opentx.h"
#include "touch.h"
#include "hal/adc_driver.h"
#include "../common/arm/stm32/stm32_hal_adc.h"
#if defined(__cplusplus) && !defined(SIMU)
extern "C" {
#endif
@@ -171,7 +175,7 @@ void boardInit()
// and this section is un-initialized
memset(&g_FATFS_Obj, 0, sizeof(g_FATFS_Obj));
monitorInit();
adcInit();
adcInit(&stm32_hal_adc_driver);
backlightInit();
lcdInit();
usbInit();