clear uart parity

This commit is contained in:
smayzy 2026-04-27 14:58:12 +02:00
parent d44ecffb41
commit 45bad91ba7

View File

@ -524,6 +524,7 @@ int main(int argc, char **argv) {
uart_str.c_cflag &= ~CSIZE; // clear bit size
uart_str.c_cflag |= (CLOCAL | CREAD | CS8);
uart_str.c_cflag &= ~PARENB;
cfsetispeed(&uart_str, B115200);
cfsetospeed(&uart_str, B115200);