From 81dd0533cc4df735e56d68c5e9f8dc404549aad5 Mon Sep 17 00:00:00 2001 From: roccomarco Date: Sun, 2 Jul 2017 11:27:30 +0000 Subject: Fixed Bug #853 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10294 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32/STM32F4xx/stm32_registry.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'os') diff --git a/os/hal/ports/STM32/STM32F4xx/stm32_registry.h b/os/hal/ports/STM32/STM32F4xx/stm32_registry.h index 8a54f2a21..682efe5bc 100644 --- a/os/hal/ports/STM32/STM32F4xx/stm32_registry.h +++ b/os/hal/ports/STM32/STM32F4xx/stm32_registry.h @@ -1342,7 +1342,7 @@ #define STM32_HAS_SPI4 TRUE #define STM32_SPI4_SUPPORTS_I2S FALSE #define STM32_SPI4_RX_DMA_MSK (STM32_DMA_STREAM_ID_MSK(2, 0) |\ - STM32_DMA_STREAM_ID_MSK(2, 3))|\ + STM32_DMA_STREAM_ID_MSK(2, 3) |\ STM32_DMA_STREAM_ID_MSK(2, 4)) #define STM32_SPI4_RX_DMA_CHN 0x00045004 #define STM32_SPI4_TX_DMA_MSK (STM32_DMA_STREAM_ID_MSK(2, 1) |\ @@ -1355,7 +1355,7 @@ STM32_DMA_STREAM_ID_MSK(2, 5)) #define STM32_SPI5_RX_DMA_CHN 0x00702000 #define STM32_SPI5_TX_DMA_MSK (STM32_DMA_STREAM_ID_MSK(2, 4) |\ - STM32_DMA_STREAM_ID_MSK(2, 5))|\ + STM32_DMA_STREAM_ID_MSK(2, 5) |\ STM32_DMA_STREAM_ID_MSK(2, 6)) #define STM32_SPI5_TX_DMA_CHN 0x07520000 -- cgit v1.2.3