ソースを参照

[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;