Browse Source

Updated for newer version of UC3 Software Framework.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@896 bbd45198-f89e-11dd-88c7-29a3b14d5316
Kyle.Hu.GZ 14 years ago
parent
commit
347d1edb30
3 changed files with 1 additions and 1 deletions
  1. 0 0
      libcpu/avr32/uc3/context_gcc.x
  2. 0 0
      libcpu/avr32/uc3/exception.x
  3. 1 1
      libcpu/avr32/uc3/serial.c

+ 0 - 0
libcpu/avr32/uc3/context_gcc.S → libcpu/avr32/uc3/context_gcc.x


+ 0 - 0
libcpu/avr32/uc3/exception.S → libcpu/avr32/uc3/exception.x


+ 1 - 1
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 */
 			/* write data directly */
 			while (size)
 			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;
 				++ptr; --size;
 			}
 			}