From 8ccf15450d0834e513ae14adefeeaf8f52a1c4d1 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 21 Jul 2018 09:26:33 +0000 Subject: [PATCH] Fixed bug #965. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12180 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- os/hal/ports/STM32/STM32L0xx/stm32_registry.h | 8 ++++---- readme.txt | 2 ++ 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