stm32: Added mcu temperature support additional mcu (#4211)

Enabled MCU_Temperature sensor for STM32F405 based boards

Signed-off-by: Pascal Wistinghausen <pascal.wistinghausen@ib-wistinghausen.de>
This commit is contained in:
pkElectronics 2021-04-25 16:35:15 +02:00 committed by GitHub
parent 2d2db0f839
commit dd7085cbca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ static const uint8_t adc_pins[] = {
#if CONFIG_MACH_STM32F1 #if CONFIG_MACH_STM32F1
ADC_TEMPERATURE_PIN, 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, ADC_TEMPERATURE_PIN, 0x00, 0x00,
#elif CONFIG_MACH_STM32F446 #elif CONFIG_MACH_STM32F446
0x00, 0x00, ADC_TEMPERATURE_PIN, 0x00, 0x00, ADC_TEMPERATURE_PIN,