diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-07-08 13:07:07 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-07-08 13:07:07 +0000 |
commit | cc9ac280b0f02cd0de528693d1bda653ed82a365 (patch) | |
tree | 0814556f5b968f2a5ddcd5dbcfcc561c57a8b262 /os/hal/ports/STM32/STM32F4xx | |
parent | 1dfcb065c96e1c4838239a0cd55864272f1e65e0 (diff) | |
download | ChibiOS-cc9ac280b0f02cd0de528693d1bda653ed82a365.tar.gz ChibiOS-cc9ac280b0f02cd0de528693d1bda653ed82a365.tar.bz2 ChibiOS-cc9ac280b0f02cd0de528693d1bda653ed82a365.zip |
Fixed bug #860.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10313 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/STM32F4xx')
-rw-r--r-- | os/hal/ports/STM32/STM32F4xx/stm32_registry.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/os/hal/ports/STM32/STM32F4xx/stm32_registry.h b/os/hal/ports/STM32/STM32F4xx/stm32_registry.h index 682efe5bc..1a6e27510 100644 --- a/os/hal/ports/STM32/STM32F4xx/stm32_registry.h +++ b/os/hal/ports/STM32/STM32F4xx/stm32_registry.h @@ -1605,10 +1605,12 @@ #define STM32_I2C2_TX_DMA_CHN 0x70000000
#define STM32_HAS_I2C3 TRUE
-#define STM32_I2C3_RX_DMA_MSK STM32_DMA_STREAM_ID_MSK(1, 2)
-#define STM32_I2C3_RX_DMA_CHN 0x00000300
-#define STM32_I2C3_TX_DMA_MSK STM32_DMA_STREAM_ID_MSK(1, 4)
-#define STM32_I2C3_TX_DMA_CHN 0x00030000
+#define STM32_I2C3_RX_DMA_MSK (STM32_DMA_STREAM_ID_MSK(1, 1) |\
++ STM32_DMA_STREAM_ID_MSK(1, 2))
+#define STM32_I2C3_RX_DMA_CHN 0x00000310
+#define STM32_I2C3_TX_DMA_MSK (STM32_DMA_STREAM_ID_MSK(1, 4) |\
++ STM32_DMA_STREAM_ID_MSK(1, 5))
+#define STM32_I2C3_TX_DMA_CHN 0x00630000
#define STM32_HAS_I2C4 FALSE
|