Skip to content
Commit 5d2558bd authored by Guillaume Gautier's avatar Guillaume Gautier Committed by Anas Nashif
Browse files

drivers: adc: stm32: dma fixes



Add a blank define for the case where DMA channels are defined in ADC node
of the dts but STM32_ADC_DMA is not enabled. Otherwise compilation fails.
Also fix the way the DMA channel is configured by using a standard DT
macro, otherwise it doesn't work for dma-v2bis DMA types.

Signed-off-by: default avatarGuillaume Gautier <guillaume.gautier-ext@st.com>
parent d123a457
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment