浏览代码

[BSP] fix compiling error for beaglebone board

Bernard Xiong 11 年之前
父节点
当前提交
8c2008b050
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;