mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-21 10:36:04 +08:00
fix a bug in rt_hw_uart_init() where u CAN NOT init some feature.
This commit is contained in:
@@ -241,8 +241,6 @@ void rt_hw_uart_init(void)
|
||||
rt_hw_serial_register(&_k60_serial, "uart5",
|
||||
RT_DEVICE_FLAG_RDWR | RT_DEVICE_FLAG_INT_RX | RT_DEVICE_FLAG_STREAM,
|
||||
(void*)&_k60_node);
|
||||
|
||||
rt_device_control(&_k60_serial.parent, RT_DEVICE_CTRL_SET_INT, 0);
|
||||
}
|
||||
|
||||
void rt_hw_console_output(const char *str)
|
||||
|
||||
Reference in New Issue
Block a user