missing flag-set
This commit is contained in:
parent
8489b5b781
commit
32e5f1df42
1 changed files with 2 additions and 0 deletions
2
dc11.cpp
2
dc11.cpp
|
@ -312,6 +312,8 @@ void dc11::set_serial(const int bitrate, const std::string & device)
|
||||||
return; // TODO error handling
|
return; // TODO error handling
|
||||||
}
|
}
|
||||||
|
|
||||||
|
serial_thread_running = true;
|
||||||
|
|
||||||
// from https://stackoverflow.com/questions/6947413/how-to-open-read-and-write-from-serial-port-in-c
|
// from https://stackoverflow.com/questions/6947413/how-to-open-read-and-write-from-serial-port-in-c
|
||||||
termios tty { };
|
termios tty { };
|
||||||
if (tcgetattr(serial_fd, &tty) == -1) {
|
if (tcgetattr(serial_fd, &tty) == -1) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue