소스 검색

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 15 년 전
부모
커밋
347d1edb30
3개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 */
 			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;
 			}