wrong asumption
This commit is contained in:
parent
43acbb95df
commit
bd5cbfee72
@ -14,7 +14,10 @@ int main() {
|
||||
tcgetattr(fd, &tty);
|
||||
|
||||
tty.c_cflag &= ~CSIZE; // clear bit size
|
||||
tty.c_cflag |= (CLOCAL | CREAD | CS8 | B115200);
|
||||
tty.c_cflag |= (CLOCAL | CREAD | CS8);
|
||||
|
||||
cfsetispeed(&tty, B115200);
|
||||
cfsetospeed(&tty, B115200);
|
||||
|
||||
tty.c_lflag = 0; // raw mode
|
||||
tty.c_iflag = 0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user