git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8390 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
Giovanni Di Sirio 2015-10-24 10:00:08 +00:00
parent 2e098efd3d
commit db83559c12
1 changed files with 3 additions and 3 deletions

View File

@ -437,9 +437,9 @@ typedef struct {
flags = ((dma)->ISR >> STM32_DMA_ISR_SHIFT(s)) & STM32_DMA_ISR_MASK; \
if (flags & STM32_DMA_ISR_MASK) { \
(dma)->IFCR = flags << STM32_DMA_ISR_SHIFT(s); \
if (_stm32_dma_isr_redir[s].dma_func) { \
_stm32_dma_isr_redir[s].dma_func(_stm32_dma_isr_redir[s].dma_param, \
flags); \
if (_stm32_dma_isr_redir[(s) - 1U].dma_func) { \
_stm32_dma_isr_redir[(s) - 1U].dma_func(_stm32_dma_isr_redir[(s) - \
1U].dma_param, flags); \
} \
} \
}