mirror of
https://github.com/andreili/klipper.git
synced 2025-08-23 19:34:06 +02:00
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…
x
Reference in New Issue
Block a user