From f76ba2109ec210165febd254f7a0155d82355e5e Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Mon, 22 Apr 2019 07:19:51 +0000 Subject: Fixed bug #1026. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_19.1.x@12747 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- os/hal/ports/STM32/STM32F7xx/stm32_registry.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'os') diff --git a/os/hal/ports/STM32/STM32F7xx/stm32_registry.h b/os/hal/ports/STM32/STM32F7xx/stm32_registry.h index 05652cca0..95ab71337 100644 --- a/os/hal/ports/STM32/STM32F7xx/stm32_registry.h +++ b/os/hal/ports/STM32/STM32F7xx/stm32_registry.h @@ -1217,12 +1217,12 @@ #define STM32_I2C4_ERROR_HANDLER Vector1C0 #define STM32_I2C4_EVENT_NUMBER 95 #define STM32_I2C4_ERROR_NUMBER 96 -#define STM32_I2C4_RX_DMA_MSK (STM32_DMA_STREAM_ID_MSK(1, 5) |\ - STM32_DMA_STREAM_ID_MSK(1, 2) |\ +#define STM32_I2C4_RX_DMA_MSK (STM32_DMA_STREAM_ID_MSK(1, 2) |\ STM32_DMA_STREAM_ID_MSK(1, 1)) -#define STM32_I2C4_RX_DMA_CHN 0x00200280 -#define STM32_I2C4_TX_DMA_MSK STM32_DMA_STREAM_ID_MSK(1, 6) -#define STM32_I2C4_TX_DMA_CHN 0x08000000 +#define STM32_I2C4_RX_DMA_CHN 0x00000280 +#define STM32_I2C4_TX_DMA_MSK (STM32_DMA_STREAM_ID_MSK(1, 5) |\ + STM32_DMA_STREAM_ID_MSK(1, 6)) +#define STM32_I2C4_TX_DMA_CHN 0x08200000 /* QUADSPI attributes.*/ #define STM32_HAS_QUADSPI1 TRUE -- cgit v1.2.3