using 8-bit characters for transmission

This commit is contained in:
fgerlits 2007-06-13 14:20:53 +00:00
parent 6c19951816
commit 4f3d96df82
1 changed files with 2 additions and 0 deletions

View File

@ -128,6 +128,8 @@ int main (int argc,
std::exit(1);
}
}
s.SetCharSize(LibSerial::SerialStreamBuf::CHAR_SIZE_8);
std::cout << "Serial port "
<< sn