From 8ccf15450d0834e513ae14adefeeaf8f52a1c4d1 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 21 Jul 2018 09:26:33 +0000 Subject: 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 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'os/hal/ports/STM32/STM32L0xx') 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.*/ -- cgit v1.2.3