diff options
| author | Kyle.Hu.GZ <[email protected]> | 2010-09-09 09:21:12 +0000 |
|---|---|---|
| committer | Kyle.Hu.GZ <[email protected]> | 2010-09-09 09:21:12 +0000 |
| commit | 347d1edb30983f404171fac8f78776fd57716c84 (patch) | |
| tree | b920ab1386fff1cdc0686f0472eccda4061e0e08 /libcpu | |
| parent | 1b84c89a560c20171b83971f6cda6cd896fcd71c (diff) | |
Updated for newer version of UC3 Software Framework.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@896 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'libcpu')
| -rw-r--r-- | libcpu/avr32/uc3/context_gcc.x (renamed from libcpu/avr32/uc3/context_gcc.S) | 0 | ||||
| -rw-r--r-- | libcpu/avr32/uc3/exception.x (renamed from libcpu/avr32/uc3/exception.S) | 0 | ||||
| -rw-r--r-- | libcpu/avr32/uc3/serial.c | 2 |
3 files changed, 1 insertions, 1 deletions
diff --git a/libcpu/avr32/uc3/context_gcc.S b/libcpu/avr32/uc3/context_gcc.x index 1201626ba8..1201626ba8 100644 --- a/libcpu/avr32/uc3/context_gcc.S +++ b/libcpu/avr32/uc3/context_gcc.x diff --git a/libcpu/avr32/uc3/exception.S b/libcpu/avr32/uc3/exception.x index 3146cc7734..3146cc7734 100644 --- a/libcpu/avr32/uc3/exception.S +++ b/libcpu/avr32/uc3/exception.x diff --git a/libcpu/avr32/uc3/serial.c b/libcpu/avr32/uc3/serial.c index 3cefbd5843..15431e20f4 100644 --- a/libcpu/avr32/uc3/serial.c +++ b/libcpu/avr32/uc3/serial.c @@ -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;
}
|
