From: Abraham vd M. <ab...@us...> - 2003-08-07 19:31:06
|
Update of /cvsroot/blob/blob/src/lib In directory sc8-pr-cvs1:/tmp/cvs-serv17234/src/lib Modified Files: command.c Log Message: Fixed a couple of bugs in my previous set of changes. The PXA port is now fully functional. Also added a patch from Yves Rutschle which fixes a bug in the serial code. Index: command.c =================================================================== RCS file: /cvsroot/blob/blob/src/lib/command.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- command.c 13 Feb 2002 00:10:57 -0000 1.12 +++ command.c 7 Aug 2003 19:31:01 -0000 1.13 @@ -275,7 +275,7 @@ for(numRead = 0, i = 0; numRead < maxRead;) { /* try to get a byte from the serial port */ - while(serial_poll() != 0) { + while(serial_poll() == 0) { currentTime = TimerGetTime(); /* check timeout value */ |