Skip to content
Commit f43292a0 authored by Cyril Fougeray's avatar Cyril Fougeray Committed by Fabio Baltieri
Browse files

adc: stm32: stop ADC before disabling it



It is advised to stop any ongoing ADC conversion before
disabling the peripheral.
Added some comments so that ADC state isn't left into
intermediate state that would prevent correctly
enabling or disabling the peripheral

Signed-off-by: default avatarCyril Fougeray <cyril.fougeray@worldcoin.org>
parent 894275c0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment