Skip to content
Commit 3122a2c8 authored by Sam Hurst's avatar Sam Hurst Committed by Carles Cufí
Browse files

drivers: adc: Refactor code to remove warning



Refactor code so that an unused variable 'adc' warning
is not generated when building for CONFIG_SOC_SERIES_STM32G4X
and not using adc1 or adc5.

Signed-off-by: default avatarSam Hurst <sbh1187@gmail.com>
parent 0aa0913c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment