Skip to content
Snippets Groups Projects
Commit bf8bb824 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Fix stupid

parent 7538ce8b
No related branches found
No related tags found
No related merge requests found
Pipeline #7069 failed
......@@ -222,14 +222,13 @@ COM_HANDLE comOpen(const char* device)
);
t.c_oflag = 0; /* No output processing */
#ifdef CBAUD
t.c_cflags &= CBAUD;
#else
t.c_cflags = 0;
t.c_cflag &= CBAUD;
#else
t.c_cflag = 0;
#endif
t.c_cflag |= (
CS8 /* 8 bits */
| CREAD /* enable receiver */
#endif
/*
Fun snippet from the FreeBSD manpage:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment