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