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:
Gregory Nutt 2019-05-22 08:57:39 -06:00
parent 7ef69fea47
commit b6152cb409

View File

@ -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;
}