aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--os/hal/ports/STM32/STM32F4xx/stm32_registry.h4
-rw-r--r--readme.txt2
2 files changed, 4 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))
diff --git a/readme.txt b/readme.txt
index 9ee1d43db..0b00760bf 100644
--- a/readme.txt
+++ b/readme.txt
@@ -184,6 +184,8 @@
- EX: Updated LIS302DL to 1.1.0 (backported to 18.2.1).
- EX: Updated LPS25H to 1.1.0 (backported to 18.2.1).
- EX: Updated LSM303DLHC to 1.1.0 (backported to 18.2.1).
+- HAL: Fixed extra parenthesis in STM32F4 registry (bug #997)
+ (backported to 18.2.2 and 17.6.5).
- HAL: Fixed timing problem in STM32 OTGv1 driver (bug #996)
(backported to 18.2.2 and 17.6.5).
- HAL: Fixed restrictive check in MMC-SPI driver (bug #995)