Updated for newer version of UC3 Software Framework.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@896 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
1b84c89a56
commit
347d1edb30
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue