aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal')
-rw-r--r--os/hal/platforms/STM32/DMAv1/stm32_dma.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/os/hal/platforms/STM32/DMAv1/stm32_dma.h b/os/hal/platforms/STM32/DMAv1/stm32_dma.h
index 473bbe851..ca9c429f7 100644
--- a/os/hal/platforms/STM32/DMAv1/stm32_dma.h
+++ b/os/hal/platforms/STM32/DMAv1/stm32_dma.h
@@ -63,11 +63,11 @@
#define STM32_DMA1_STREAM5 (&_stm32_dma_streams[4])
#define STM32_DMA1_STREAM6 (&_stm32_dma_streams[5])
#define STM32_DMA1_STREAM7 (&_stm32_dma_streams[6])
-#define STM32_DMA2_STREAM1 (&_stm32_dma_streams[8])
-#define STM32_DMA2_STREAM2 (&_stm32_dma_streams[9])
-#define STM32_DMA2_STREAM3 (&_stm32_dma_streams[10])
-#define STM32_DMA2_STREAM4 (&_stm32_dma_streams[11])
-#define STM32_DMA2_STREAM5 (&_stm32_dma_streams[12])
+#define STM32_DMA2_STREAM1 (&_stm32_dma_streams[7])
+#define STM32_DMA2_STREAM2 (&_stm32_dma_streams[8])
+#define STM32_DMA2_STREAM3 (&_stm32_dma_streams[9])
+#define STM32_DMA2_STREAM4 (&_stm32_dma_streams[10])
+#define STM32_DMA2_STREAM5 (&_stm32_dma_streams[11])
/** @} */
/**