wrong asumption

This commit is contained in:
smayzy 2026-05-03 18:36:00 +02:00
parent 43acbb95df
commit bd5cbfee72

View File

@ -14,7 +14,10 @@ int main() {
tcgetattr(fd, &tty); tcgetattr(fd, &tty);
tty.c_cflag &= ~CSIZE; // clear bit size 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_lflag = 0; // raw mode
tty.c_iflag = 0; tty.c_iflag = 0;