mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-22 11:30:01 +08:00
[bsp]change BBB uart flag
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user