From 879c3f6aff330aaa5d6d3679840dec3623da2f1e Mon Sep 17 00:00:00 2001 From: Steve Evans Date: Mon, 20 Mar 2023 21:19:17 +0000 Subject: [PATCH] Enable AT32 ADC for internal measurements (#12549) --- src/config/ATSTARTF435/config.h | 2 +- src/config/NEUTRONRCF435/config.h | 2 ++ src/config/REVO_AT/config.h | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/config/ATSTARTF435/config.h b/src/config/ATSTARTF435/config.h index 3163df00b..6a3f80dc8 100644 --- a/src/config/ATSTARTF435/config.h +++ b/src/config/ATSTARTF435/config.h @@ -53,5 +53,5 @@ #define UART1_TX_PIN PA9 #define USE_MSP_UART SERIAL_PORT_USART1 - +#define ADC1_DMA_OPT 1 diff --git a/src/config/NEUTRONRCF435/config.h b/src/config/NEUTRONRCF435/config.h index 2e3f7a03b..6497892d5 100644 --- a/src/config/NEUTRONRCF435/config.h +++ b/src/config/NEUTRONRCF435/config.h @@ -65,3 +65,5 @@ #define MAX7456_SPI_INSTANCE SPI2 #define MAX7456_SPI_CS_PIN PB12 +#define ADC1_DMA_OPT 1 + diff --git a/src/config/REVO_AT/config.h b/src/config/REVO_AT/config.h index 85ff396b9..f90c84106 100644 --- a/src/config/REVO_AT/config.h +++ b/src/config/REVO_AT/config.h @@ -67,3 +67,5 @@ #define BARO_I2C_INSTANCE I2CDEV_1 #define USE_BARO #define USE_BARO_MS5611 + +#define ADC1_DMA_OPT 1 -- 2.11.4.GIT