drivers: adc: fix ADC_DT_SPEC* helpers for channels >= 10
Use the just introduced IS_EQ() to get the channel child node matching the
input.
Fixes #47119
Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
Loading
Please sign in to comment