aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-07-21 09:26:33 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-07-21 09:26:33 +0000
commit8ccf15450d0834e513ae14adefeeaf8f52a1c4d1 (patch)
treea4ef84c72d6537ba3200a1298b59439efd36c82d
parente006d9dbb4e4f43ffceccb9d08c6e286e8d6ab51 (diff)
downloadChibiOS-8ccf15450d0834e513ae14adefeeaf8f52a1c4d1.tar.gz
ChibiOS-8ccf15450d0834e513ae14adefeeaf8f52a1c4d1.tar.bz2
ChibiOS-8ccf15450d0834e513ae14adefeeaf8f52a1c4d1.zip
Fixed bug #965.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12180 110e8d01-0319-4d1e-a829-52ad28d1bb01
-rw-r--r--os/hal/ports/STM32/STM32L0xx/stm32_registry.h8
-rw-r--r--readme.txt2
2 files changed, 6 insertions, 4 deletions
diff --git a/os/hal/ports/STM32/STM32L0xx/stm32_registry.h b/os/hal/ports/STM32/STM32L0xx/stm32_registry.h
index 724c0638d..b6c8e87fa 100644
--- a/os/hal/ports/STM32/STM32L0xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32L0xx/stm32_registry.h
@@ -1364,11 +1364,11 @@
#define STM32_HAS_I2C3 TRUE
#define STM32_I2C3_GLOBAL_HANDLER Vector94
#define STM32_I2C3_GLOBAL_NUMBER 21
-#define STM32_I2C3_RX_DMA_MSK STM32_DMA_STREAM_ID_MSK(1, 3) |\
- STM32_DMA_STREAM_ID_MSK(1, 5))
+#define STM32_I2C3_RX_DMA_MSK (STM32_DMA_STREAM_ID_MSK(1, 3) |\
+ STM32_DMA_STREAM_ID_MSK(1, 5))
#define STM32_I2C3_RX_DMA_CHN 0x00E0E000
-#define STM32_I2C3_TX_DMA_MSK STM32_DMA_STREAM_ID_MSK(1, 4) |\
- STM32_DMA_STREAM_ID_MSK(1, 6))
+#define STM32_I2C3_TX_DMA_MSK (STM32_DMA_STREAM_ID_MSK(1, 4) |\
+ STM32_DMA_STREAM_ID_MSK(1, 6))
#define STM32_I2C3_TX_DMA_CHN 0x0E0E0000
/* RTC attributes.*/
diff --git a/readme.txt b/readme.txt
index 4f504905e..028b26b78 100644
--- a/readme.txt
+++ b/readme.txt
@@ -141,6 +141,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 missing parenthesis in STM32L073 registry entry (bug #965)
+ (backported to 18.2.2 and 17.6.5).
- HAL: Fixed problem with STM32 RTCv1 and GCC7 compiler (bug #964)(backported
to 18.2.2 and 17.6.5).
- HAL: Fixed invalid timeout calculation in hal_buffers (bug #963)(backported