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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 72 by torben, Tue Feb 6 09:09:32 2007 UTC revision 73 by torben, Fri Jul 6 11:31:48 2007 UTC
# Line 134  void CSerial::openLinux() Line 134  void CSerial::openLinux()
134          if (mFiledescriptor < 0)          if (mFiledescriptor < 0)
135                  throw std::runtime_error( writeLastError() );                  throw std::runtime_error( writeLastError() );
136    
137            tcgetattr(mFiledescriptor, &mOldtio);
138    
139          bzero(&newtio, sizeof(newtio) );          bzero(&newtio, sizeof(newtio) );
140    
141          // use a std. 8N1 config          // use a std. 8N1 config

Legend:
Removed from v.72  
changed lines
  Added in v.73

  ViewVC Help
Powered by ViewVC 1.1.20