Explorar o código

[BSP] fix compiling error for beaglebone board

Bernard Xiong %!s(int64=11) %!d(string=hai) anos
pai
achega
8c2008b050
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;