stm32: Fix the STM32H743 mcu temp on SKR 3 (#5711)
Signed-off-by: Aaron DeLyser <bluwolf@gmail.com>
This commit is contained in:
parent
724b007c50
commit
9e4994cbdb
|
@ -190,7 +190,7 @@ gpio_adc_setup(uint32_t pin)
|
|||
}
|
||||
|
||||
if (pin == ADC_TEMPERATURE_PIN) {
|
||||
ADC3_COMMON->CCR = ADC_CCR_TSEN;
|
||||
ADC3_COMMON->CCR |= ADC_CCR_TSEN;
|
||||
} else {
|
||||
gpio_peripheral(pin, GPIO_ANALOG, 0);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue