arch/arm/src/stm32f0l0/stm32_dma_v1.c: Fix yet another compilation error found in this file by build testing.
This commit is contained in:
parent
7ef69fea47
commit
b6152cb409
@ -294,7 +294,7 @@ static int stm32_dmainterrupt(int irq, void *context, FAR void *arg)
|
||||
}
|
||||
else
|
||||
#if STM32_NDMA > 1
|
||||
if (irq >= STM32_IRQ_DMA2CH1 && irq <= STM32_IRQ_DMA2CH45)
|
||||
if (irq >= STM32_IRQ_DMA2CH1 && irq <= STM32_IRQ_DMA2CH5)
|
||||
{
|
||||
chndx = irq - STM32_IRQ_DMA2CH1 + DMA1_NCHANNELS;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user