提交 347d1edb 编写于 作者: K Kyle.Hu.GZ

Updated for newer version of UC3 Software Framework.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@896 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 1b84c89a
......@@ -160,7 +160,7 @@ static rt_size_t rt_serial_write (rt_device_t dev, rt_off_t pos, const void* buf
/* write data directly */
while (size)
{
while (usart_bw_write_char(uart->uart_device, (int) *ptr) != USART_SUCCESS);
usart_bw_write_char(uart->uart_device, (int) *ptr);
++ptr; --size;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册