diff options
author | adelyser <12093019+adelyser@users.noreply.github.com> | 2022-08-19 21:42:20 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-19 21:42:20 +0300 |
commit | 9e4994cbdb5a3b1017a0dcca9808efde0de153d4 (patch) | |
tree | aaca329a3a200cb9e66a85f9810cefd58a12ce94 | |
parent | 724b007c507832e7fbaf6b73b9ee2bb4f97af2c1 (diff) |
stm32: Fix the STM32H743 mcu temp on SKR 3 (#5711)
Signed-off-by: Aaron DeLyser <bluwolf@gmail.com>
-rw-r--r-- | src/stm32/stm32h7_adc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stm32/stm32h7_adc.c b/src/stm32/stm32h7_adc.c index ca149d3d6..00be6209e 100644 --- a/src/stm32/stm32h7_adc.c +++ b/src/stm32/stm32h7_adc.c @@ -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); } |