aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-12-31 09:50:25 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-12-31 09:50:25 +0000
commitbdf567c5f9bec07137a61c11fa22d91bfb292e1c (patch)
treea1c535e2ffc6fc5832f57e4a6194739c9416b68c /os
parent201ac1893f8ed7c046c76f2b01f516a6f6aed29a (diff)
downloadChibiOS-bdf567c5f9bec07137a61c11fa22d91bfb292e1c.tar.gz
ChibiOS-bdf567c5f9bec07137a61c11fa22d91bfb292e1c.tar.bz2
ChibiOS-bdf567c5f9bec07137a61c11fa22d91bfb292e1c.zip
Fixed bug #997.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12510 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os')
-rw-r--r--os/hal/ports/STM32/STM32F4xx/stm32_registry.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/ports/STM32/STM32F4xx/stm32_registry.h b/os/hal/ports/STM32/STM32F4xx/stm32_registry.h
index 68ad760ef..8d754c690 100644
--- a/os/hal/ports/STM32/STM32F4xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32F4xx/stm32_registry.h
@@ -1524,7 +1524,7 @@
#define STM32_USART2_TX_DMA_CHN 0x04000000
#define STM32_HAS_USART3 TRUE
-#define STM32_USART3_RX_DMA_MSK (STM32_DMA_STREAM_ID_MSK(1, 1)
+#define STM32_USART3_RX_DMA_MSK STM32_DMA_STREAM_ID_MSK(1, 1)
#define STM32_USART3_RX_DMA_CHN 0x00000040
#define STM32_USART3_TX_DMA_MSK (STM32_DMA_STREAM_ID_MSK(1, 3) |\
STM32_DMA_STREAM_ID_MSK(1, 4))
@@ -1885,7 +1885,7 @@
#define STM32_USART2_TX_DMA_CHN 0x04000000
#define STM32_HAS_USART3 TRUE
-#define STM32_USART3_RX_DMA_MSK (STM32_DMA_STREAM_ID_MSK(1, 1)
+#define STM32_USART3_RX_DMA_MSK STM32_DMA_STREAM_ID_MSK(1, 1)
#define STM32_USART3_RX_DMA_CHN 0x00000040
#define STM32_USART3_TX_DMA_MSK (STM32_DMA_STREAM_ID_MSK(1, 3) |\
STM32_DMA_STREAM_ID_MSK(1, 4))