From ea42997ad9bd5bea6ccf91b438df849ad011ede6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=84=E7=BB=AE?= Date: Thu, 19 Dec 2024 15:36:22 +0800 Subject: [PATCH] Use ADC1 --- configs/DAKEFPVF435/config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/DAKEFPVF435/config.h b/configs/DAKEFPVF435/config.h index 4383cbf2..0e117bb9 100644 --- a/configs/DAKEFPVF435/config.h +++ b/configs/DAKEFPVF435/config.h @@ -98,9 +98,9 @@ TIMER_PIN_MAP( 10,PH2 , 1, -1) \ TIMER_PIN_MAP( 11,PC5 , 1, -1) -#define ADC2_DMA_OPT 9 +#define ADC1_DMA_OPT 9 -#define ADC_INSTANCE ADC2 +#define ADC_INSTANCE ADC1 #define FLASH_SPI_INSTANCE SPI3 #define MAX7456_SPI_INSTANCE SPI2