using 8-bit characters for transmission
This commit is contained in:
parent
6c19951816
commit
4f3d96df82
1 changed files with 2 additions and 0 deletions
|
@ -129,6 +129,8 @@ int main (int argc,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
s.SetCharSize(LibSerial::SerialStreamBuf::CHAR_SIZE_8);
|
||||||
|
|
||||||
std::cout << "Serial port "
|
std::cout << "Serial port "
|
||||||
<< sn
|
<< sn
|
||||||
<< " is "
|
<< " is "
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue