Browse Source

[bsp]change BBB uart flag

陈豪 10 years ago
parent
commit
daac5388af
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bsp/beaglebone/drivers/serial.c

+ 1 - 1
bsp/beaglebone/drivers/serial.c

@@ -462,7 +462,7 @@ int rt_hw_serial_init(void)
     rt_hw_interrupt_mask(uart4.irq);
     rt_hw_interrupt_mask(uart4.irq);
     /* register UART4 device */
     /* register UART4 device */
     rt_hw_serial_register(&serial4, "uart4",
     rt_hw_serial_register(&serial4, "uart4",
-            RT_DEVICE_FLAG_RDWR | RT_DEVICE_FLAG_STREAM,
+            RT_DEVICE_FLAG_RDWR,
             &uart4);
             &uart4);
 #endif
 #endif