Parent Directory | Revision Log | 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 |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |