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:
parent
2d2db0f839
commit
dd7085cbca
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue