diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-06-18 17:28:41 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-06-18 17:28:41 +0000 |
commit | cbfc9a5396c2924d6b8fa3c03e4ea8bbda386a15 (patch) | |
tree | f3951c02e52661d699c16c484a6f7d15f6d1c02e /os/hal | |
parent | cdb43a7cd26172cd6ee32dae5f160e615a7af4f5 (diff) | |
download | ChibiOS-cbfc9a5396c2924d6b8fa3c03e4ea8bbda386a15.tar.gz ChibiOS-cbfc9a5396c2924d6b8fa3c03e4ea8bbda386a15.tar.bz2 ChibiOS-cbfc9a5396c2924d6b8fa3c03e4ea8bbda386a15.zip |
Fixed bug 3536070.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4300 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal')
-rw-r--r-- | os/hal/platforms/STM32F1xx/hal_lld_f100.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/os/hal/platforms/STM32F1xx/hal_lld_f100.h b/os/hal/platforms/STM32F1xx/hal_lld_f100.h index 4a01eb739..3237fd5d0 100644 --- a/os/hal/platforms/STM32F1xx/hal_lld_f100.h +++ b/os/hal/platforms/STM32F1xx/hal_lld_f100.h @@ -439,10 +439,10 @@ #define STM32_USART1_TX_DMA_CHN 0x00000000
#define STM32_HAS_USART2 TRUE
-#define STM32_I2C2_RX_DMA_MSK (STM32_DMA_STREAM_ID_MSK(1, 5))
-#define STM32_I2C2_RX_DMA_CHN 0x00000000
-#define STM32_I2C2_TX_DMA_MSK (STM32_DMA_STREAM_ID_MSK(1, 4))
-#define STM32_I2C2_TX_DMA_CHN 0x00000000
+#define STM32_USART2_RX_DMA_MSK (STM32_DMA_STREAM_ID_MSK(1, 6))
+#define STM32_USART2_RX_DMA_CHN 0x00000000
+#define STM32_USART2_TX_DMA_MSK (STM32_DMA_STREAM_ID_MSK(1, 7))
+#define STM32_USART2_TX_DMA_CHN 0x00000000
#define STM32_HAS_USART3 TRUE
#define STM32_USART3_RX_DMA_MSK (STM32_DMA_STREAM_ID_MSK(1, 3))
|