Browse Source

[BSP] fix compiling error for beaglebone board

Bernard Xiong 11 years ago
parent
commit
8c2008b050
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bsp/beaglebone/drivers/serial.c

+ 1 - 1
bsp/beaglebone/drivers/serial.c

@@ -431,7 +431,7 @@ int rt_hw_serial_init(void)
 #endif
 
 #ifdef RT_USING_UART5
-    config = RT_SERIAL_CONFIG_DEFAULT;
+    config.baud_rate = BAUD_RATE_115200;
 
     serial5.ops    = &am33xx_uart_ops;
     serial5.config = config;