other/adc_temperature_sensor: Cosmetics.
This commit is contained in:
parent
61ff27cfbe
commit
cd259c6eb3
@ -63,7 +63,7 @@ void adc_setup(void)
|
|||||||
|
|
||||||
rcc_peripheral_enable_clock(&RCC_APB2ENR, RCC_APB2ENR_ADC1EN);
|
rcc_peripheral_enable_clock(&RCC_APB2ENR, RCC_APB2ENR_ADC1EN);
|
||||||
|
|
||||||
/* Make shure it doesn't run during config. */
|
/* Make sure the ADC doesn't run during config. */
|
||||||
adc_off(ADC1);
|
adc_off(ADC1);
|
||||||
|
|
||||||
/* We configure everything for one single conversion. */
|
/* We configure everything for one single conversion. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user