Parent Directory | Revision Log | Patch
revision 66 by torben, Tue Feb 6 14:01:26 2007 UTC | revision 67 by torben, Tue Feb 6 23:37:39 2007 UTC | |
---|---|---|
# | Line 48 std::vector<unsigned char> CSlipSerial:: | Line 48 std::vector<unsigned char> CSlipSerial:: |
48 | while ( /*bytesReady() >0 &&*/ state != SlipStopped) | while ( /*bytesReady() >0 &&*/ state != SlipStopped) |
49 | { | { |
50 | now = time(0); | now = time(0); |
51 | if ( (now - start)>3) | if ( (now - start) >= 3) |
52 | throw timeout_error("readFrame() timed out"); | throw timeout_error("readFrame() timed out"); |
53 | ||
54 | int c = readByte(); | int c = readByte(); |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |