Changeset dfdf7961 in rtems
- Timestamp:
- 09/19/11 07:01:02 (13 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 3fb73e22
- Parents:
- 9f1412b9
- Location:
- c/src/lib/libcpu/arm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libcpu/arm/ChangeLog
r9f1412b9 rdfdf7961 1 2011-09-19 Andrei Mozzhuhin <nopscmn@gmail.com> 2 3 PR 1915/libcpu 4 * at91rm9200/usart/usart.c: Fixed polled read. 5 1 6 2011-07-13 Sebastian Huber <sebastian.huber@embedded-brains.de> 2 7 -
c/src/lib/libcpu/arm/at91rm9200/usart/usart.c
r9f1412b9 rdfdf7961 123 123 124 124 /* if nothing ready return -1 */ 125 if ( (usart->sr & US_IER_RX BUFF) == 0 )126 return -1; 127 128 return usart-> thr;125 if ( (usart->sr & US_IER_RXRDY) == 0 ) 126 return -1; 127 128 return usart->rhr; 129 129 } 130 130
Note: See TracChangeset
for help on using the changeset viewer.