Skip to content
Commit c57a41c5 authored by Aurelien Jarno's avatar Aurelien Jarno Committed by Fabio Baltieri
Browse files

drivers/adc: stm32: do not disable the ADC if resolution is unchanged



In case the resolution is already correct (probably the common use
case), do nothing instead of disabling the ADC.

Signed-off-by: default avatarAurelien Jarno <aurelien@aurel32.net>
parent 897554bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment