aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/STM32L0xx
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 /os/hal/ports/STM32/STM32L0xx
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
Diffstat (limited to 'os/hal/ports/STM32/STM32L0xx')
-rw-r--r--os/hal/ports/STM32/STM32L0xx/stm32_registry.h8
1 files changed, 4 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.*/