From 977850e2b4e5516e126ea6e5e0ca89efd782fc7d Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Mon, 18 Nov 2024 02:45:45 -0800 Subject: [PATCH] h7 adc3 --- firmware/hw_layer/ports/stm32/stm32h7/cfg/mcuconf.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/firmware/hw_layer/ports/stm32/stm32h7/cfg/mcuconf.h b/firmware/hw_layer/ports/stm32/stm32h7/cfg/mcuconf.h index ddc0b80d40..d677786844 100644 --- a/firmware/hw_layer/ports/stm32/stm32h7/cfg/mcuconf.h +++ b/firmware/hw_layer/ports/stm32/stm32h7/cfg/mcuconf.h @@ -254,7 +254,11 @@ #define STM32_ADC_DUAL_MODE FALSE #define STM32_ADC_COMPACT_SAMPLES FALSE #define STM32_ADC_USE_ADC12 TRUE + +#ifndef STM32_ADC_USE_ADC3 #define STM32_ADC_USE_ADC3 FALSE +#endif /* STM32_ADC_USE_ADC3 */ + #define STM32_ADC_ADC12_DMA_STREAM STM32_DMA_STREAM_ID_ANY #define STM32_ADC_ADC3_BDMA_STREAM STM32_BDMA_STREAM_ID_ANY #define STM32_ADC_ADC12_DMA_PRIORITY 2