aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-06-18 17:28:41 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-06-18 17:28:41 +0000
commitcbfc9a5396c2924d6b8fa3c03e4ea8bbda386a15 (patch)
treef3951c02e52661d699c16c484a6f7d15f6d1c02e /os/hal/platforms
parentcdb43a7cd26172cd6ee32dae5f160e615a7af4f5 (diff)
downloadChibiOS-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/platforms')
-rw-r--r--os/hal/platforms/STM32F1xx/hal_lld_f100.h8
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))