提交 daac5388 编写于 作者: wzyy2's avatar wzyy2

[bsp]change BBB uart flag

上级 dd7fff2b
......@@ -462,7 +462,7 @@ int rt_hw_serial_init(void)
rt_hw_interrupt_mask(uart4.irq);
/* register UART4 device */
rt_hw_serial_register(&serial4, "uart4",
RT_DEVICE_FLAG_RDWR | RT_DEVICE_FLAG_STREAM,
RT_DEVICE_FLAG_RDWR,
&uart4);
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册