[PATCH] bsp/stm32f4: fix typo in USART2 device name

Karel Gardas karel.gardas at centrum.cz
Sun Jul 21 21:04:50 UTC 2013


---
 .../libbsp/arm/stm32f4/console/console-config.c    |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/c/src/lib/libbsp/arm/stm32f4/console/console-config.c b/c/src/lib/libbsp/arm/stm32f4/console/console-config.c
index cd68032..175a4d4 100644
--- a/c/src/lib/libbsp/arm/stm32f4/console/console-config.c
+++ b/c/src/lib/libbsp/arm/stm32f4/console/console-config.c
@@ -35,7 +35,7 @@ console_tbl Console_Configuration_Ports [] = {
   #endif
   #ifdef STM32F4_ENABLE_USART_2
     {
-      .sDeviceName = "/dev/ttyS2",
+      .sDeviceName = "/dev/ttyS1",
       .deviceType = SERIAL_CUSTOM,
       .pDeviceFns = &stm32f4_usart_fns,
       .ulCtrlPort1 = (uint32_t) STM32F4_USART_2,
-- 
1.7.3.2




More information about the devel mailing list