Fix to STM32 F2/F4 DMA driver from Yan T.

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5694 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2013-03-01 22:15:44 +00:00
parent d7df13c66a
commit 03ed16b39f
2 changed files with 2 additions and 2 deletions

View File

@ -131,7 +131,7 @@ static struct stm32_dma_s g_dma[DMA_NSTREAMS] =
.stream = 3,
.irq = STM32_IRQ_DMA1S3,
.shift = DMA_INT_STREAM3_SHIFT,
.base = STM32_DMA1_BASE + STM32_DMA_OFFSET(4),
.base = STM32_DMA1_BASE + STM32_DMA_OFFSET(3),
},
{
.stream = 4,

View File

@ -130,7 +130,7 @@ static struct stm32_dma_s g_dma[DMA_NSTREAMS] =
.stream = 3,
.irq = STM32_IRQ_DMA1S3,
.shift = DMA_INT_STREAM3_SHIFT,
.base = STM32_DMA1_BASE + STM32_DMA_OFFSET(4),
.base = STM32_DMA1_BASE + STM32_DMA_OFFSET(3),
},
{
.stream = 4,