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:
Kyle.Hu.GZ 2010-09-09 09:21:12 +00:00
parent 1b84c89a56
commit 347d1edb30
3 changed files with 1 additions and 1 deletions

View File

@ -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;
}