From dd7085cbca1ead5735124c05a6b359002917a31b Mon Sep 17 00:00:00 2001 From: pkElectronics Date: Sun, 25 Apr 2021 16:35:15 +0200 Subject: [PATCH] stm32: Added mcu temperature support additional mcu (#4211) Enabled MCU_Temperature sensor for STM32F405 based boards Signed-off-by: Pascal Wistinghausen --- src/stm32/adc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stm32/adc.c b/src/stm32/adc.c index 915c7d34..3258faf2 100644 --- a/src/stm32/adc.c +++ b/src/stm32/adc.c @@ -26,7 +26,7 @@ static const uint8_t adc_pins[] = { #if CONFIG_MACH_STM32F1 ADC_TEMPERATURE_PIN, -#elif CONFIG_MACH_STM32F2 || CONFIG_MACH_STM32F407 +#elif CONFIG_MACH_STM32F2 || CONFIG_MACH_STM32F405 || CONFIG_MACH_STM32F407 ADC_TEMPERATURE_PIN, 0x00, 0x00, #elif CONFIG_MACH_STM32F446 0x00, 0x00, ADC_TEMPERATURE_PIN,