/[H7]/branches/linux-serial/SlipSerial.cpp
ViewVC logotype

Diff of /branches/linux-serial/SlipSerial.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch 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();

Legend:
Removed from v.66  
changed lines
  Added in v.67

  ViewVC Help
Powered by ViewVC 1.1.20