From 347d1edb30983f404171fac8f78776fd57716c84 Mon Sep 17 00:00:00 2001 From: "Kyle.Hu.GZ" Date: Thu, 9 Sep 2010 09:21:12 +0000 Subject: [PATCH] Updated for newer version of UC3 Software Framework. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@896 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- libcpu/avr32/uc3/{context_gcc.S => context_gcc.x} | 0 libcpu/avr32/uc3/{exception.S => exception.x} | 0 libcpu/avr32/uc3/serial.c | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) rename libcpu/avr32/uc3/{context_gcc.S => context_gcc.x} (100%) rename libcpu/avr32/uc3/{exception.S => exception.x} (100%) diff --git a/libcpu/avr32/uc3/context_gcc.S b/libcpu/avr32/uc3/context_gcc.x similarity index 100% rename from libcpu/avr32/uc3/context_gcc.S rename to libcpu/avr32/uc3/context_gcc.x diff --git a/libcpu/avr32/uc3/exception.S b/libcpu/avr32/uc3/exception.x similarity index 100% rename from libcpu/avr32/uc3/exception.S rename to 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; } -- GitLab