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