/[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 60 by torben, Mon Feb 5 10:43:49 2007 UTC revision 61 by torben, Tue Feb 6 09:09:32 2007 UTC
# Line 137  void CSerial::openLinux() Line 137  void CSerial::openLinux()
137          bzero(&newtio, sizeof(newtio) );          bzero(&newtio, sizeof(newtio) );
138    
139          // use a std. 8N1 config          // use a std. 8N1 config
140          newtio.c_cflag = convertBaudrate(mBitrate) | CRTSCTS | CS8 | CLOCAL | CREAD;          newtio.c_cflag = convertBaudrate(mBitrate) | CS8 | CLOCAL | CREAD;
141          newtio.c_iflag = IGNPAR;          newtio.c_iflag = IGNPAR;
142          newtio.c_oflag = 0;          newtio.c_oflag = 0;
143    

Legend:
Removed from v.60  
changed lines
  Added in v.61

  ViewVC Help
Powered by ViewVC 1.1.20