arch/arm/src/stm32l4/stm32l4_adc.c: fix copy-paste mistake with CONFIG_STM32L4_ADC1_DMA_CFG
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
This commit is contained in:
parent
e160bffe28
commit
cfa5b82e09
@ -476,7 +476,7 @@ static struct stm32_dev_s g_adcpriv2 =
|
||||
#endif
|
||||
#ifdef ADC2_HAVE_DMA
|
||||
.dmachan = ADC2_DMA_CHAN,
|
||||
.dmacfg = CONFIG_STM32L4_ADC1_DMA_CFG,
|
||||
.dmacfg = CONFIG_STM32L4_ADC2_DMA_CFG,
|
||||
.hasdma = true,
|
||||
#endif
|
||||
#ifdef ADC2_HAVE_DFSDM
|
||||
@ -525,7 +525,7 @@ static struct stm32_dev_s g_adcpriv3 =
|
||||
#endif
|
||||
#ifdef ADC3_HAVE_DMA
|
||||
.dmachan = ADC3_DMA_CHAN,
|
||||
.dmacfg = CONFIG_STM32L4_ADC1_DMA_CFG,
|
||||
.dmacfg = CONFIG_STM32L4_ADC3_DMA_CFG,
|
||||
.hasdma = true,
|
||||
#endif
|
||||
#ifdef ADC3_HAVE_DFSDM
|
||||
|
Loading…
Reference in New Issue
Block a user