From bd5cbfee728eab305998f7a1598265ca3821e225 Mon Sep 17 00:00:00 2001 From: smayzy Date: Sun, 3 May 2026 18:36:00 +0200 Subject: [PATCH] wrong asumption --- src/main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 2293a6d..1efd78c 100644 --- a/src/main.c +++ b/src/main.c @@ -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;