change log for rtems (2011-02-01)
rtems-vc at rtems.org
rtems-vc at rtems.org
Tue Feb 1 16:11:06 UTC 2011
*sh*:
2011-02-01 Sebastian Huber <sebastian.huber at embedded-brains.de>
* console.c: Flow control is optional.
M 1.182 c/src/lib/libbsp/shared/ChangeLog
M 1.14 c/src/lib/libbsp/shared/console.c
diff -u rtems/c/src/lib/libbsp/shared/ChangeLog:1.181 rtems/c/src/lib/libbsp/shared/ChangeLog:1.182
--- rtems/c/src/lib/libbsp/shared/ChangeLog:1.181 Thu Jan 27 05:25:19 2011
+++ rtems/c/src/lib/libbsp/shared/ChangeLog Tue Feb 1 09:48:26 2011
@@ -1,3 +1,7 @@
+2011-02-01 Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+ * console.c: Flow control is optional.
+
2011-01-27 Sebastian Huber <sebastian.huber at embedded-brains.de>
* shared/bspgetworkarea.c: Use BSP_DISABLE_UBOOT_WORK_AREA_CONFIG and
diff -u rtems/c/src/lib/libbsp/shared/console.c:1.13 rtems/c/src/lib/libbsp/shared/console.c:1.14
--- rtems/c/src/lib/libbsp/shared/console.c:1.13 Mon Aug 10 09:54:52 2009
+++ rtems/c/src/lib/libbsp/shared/console.c Tue Feb 1 09:48:26 2011
@@ -70,8 +70,13 @@
Callbacks.pollRead = cptr->pDeviceFns->deviceRead;
Callbacks.write = cptr->pDeviceFns->deviceWrite;
Callbacks.setAttributes = cptr->pDeviceFns->deviceSetAttributes;
- Callbacks.stopRemoteTx = cptr->pDeviceFlow->deviceStopRemoteTx;
- Callbacks.startRemoteTx = cptr->pDeviceFlow->deviceStartRemoteTx;
+ if (cptr->pDeviceFlow != NULL) {
+ Callbacks.stopRemoteTx = cptr->pDeviceFlow->deviceStopRemoteTx;
+ Callbacks.startRemoteTx = cptr->pDeviceFlow->deviceStartRemoteTx;
+ } else {
+ Callbacks.stopRemoteTx = NULL;
+ Callbacks.startRemoteTx = NULL;
+ }
Callbacks.outputUsesInterrupts = cptr->pDeviceFns->deviceOutputUsesInterrupts;
/* XXX what about
--
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/20110201/2ddb563e/attachment-0001.html>
More information about the vc
mailing list