change log for rtems (2011-09-19)
rtems-vc at rtems.org
rtems-vc at rtems.org
Mon Sep 19 07:10:38 UTC 2011
*sh*:
2011-09-19 Andrei Mozzhuhin <nopscmn at gmail.com>
PR 1915/libcpu
* at91rm9200/usart/usart.c: Fixed polled read.
M 1.81 c/src/lib/libcpu/arm/ChangeLog
M 1.5 c/src/lib/libcpu/arm/at91rm9200/usart/usart.c
diff -u rtems/c/src/lib/libcpu/arm/ChangeLog:1.80 rtems/c/src/lib/libcpu/arm/ChangeLog:1.81
--- rtems/c/src/lib/libcpu/arm/ChangeLog:1.80 Wed Jul 13 15:24:04 2011
+++ rtems/c/src/lib/libcpu/arm/ChangeLog Mon Sep 19 02:01:01 2011
@@ -1,3 +1,8 @@
+2011-09-19 Andrei Mozzhuhin <nopscmn at gmail.com>
+
+ PR 1915/libcpu
+ * at91rm9200/usart/usart.c: Fixed polled read.
+
2011-07-13 Sebastian Huber <sebastian.huber at embedded-brains.de>
PR 1832/libcpu
diff -u rtems/c/src/lib/libcpu/arm/at91rm9200/usart/usart.c:1.4 rtems/c/src/lib/libcpu/arm/at91rm9200/usart/usart.c:1.5
--- rtems/c/src/lib/libcpu/arm/at91rm9200/usart/usart.c:1.4 Fri Apr 30 09:59:51 2010
+++ rtems/c/src/lib/libcpu/arm/at91rm9200/usart/usart.c Mon Sep 19 02:01:02 2011
@@ -122,10 +122,10 @@
return -1;
/* if nothing ready return -1 */
- if ( (usart->sr & US_IER_RXBUFF) == 0 )
+ if ( (usart->sr & US_IER_RXRDY) == 0 )
return -1;
- return usart->thr;
+ return usart->rhr;
}
--
Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20110919/1b4c48c6/attachment.html>
More information about the vc
mailing list