-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
AlternativeLSS/lib/lss/platform/posix/LssPosixChannel.cpp
Lines 191 to 193 in 8281259
| newtio.c_iflag = IGNBRK; | |
| newtio.c_iflag &= ~(IXON | IXOFF | IXANY); // No software handshake | |
| newtio.c_iflag = IGNPAR; |
newtio.c_iflag = IGNPAR; completely overwrites the changes of the two lines before, I guess this is not intentional?
Also, newtio.c_iflag = IGNBRK; completely overwrites all settings anyway, so newtio.c_iflag &= ~(IXON | IXOFF | IXANY); // No software handshake will have no effect.
It is similar with
AlternativeLSS/lib/lss/platform/posix/LssPosixChannel.cpp
Lines 186 to 189 in 8281259
| newtio.c_cflag = BAUDRATE | CS8 | CLOCAL | CREAD; // | CRTSCTS | |
| newtio.c_cflag &= ~(PARENB | PARODD); // No parity | |
| newtio.c_cflag &= ~CRTSCTS; // No hardware handshake | |
| newtio.c_cflag &= ~CSTOPB; // 1 stopbit |
and
AlternativeLSS/lib/lss/platform/posix/LssPosixChannel.cpp
Lines 196 to 197 in 8281259
| newtio.c_lflag = 0; | |
| newtio.c_lflag &= ~(ICANON|ECHO); /* Clear ICANON and ECHO. */ |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels