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) ...@@ -222,14 +222,13 @@ COM_HANDLE comOpen(const char* device)
); );
t.c_oflag = 0; /* No output processing */ t.c_oflag = 0; /* No output processing */
#ifdef CBAUD #ifdef CBAUD
t.c_cflags &= CBAUD; t.c_cflag &= CBAUD;
#else
t.c_cflags = 0;
#else #else
t.c_cflag = 0;
#endif
t.c_cflag |= ( t.c_cflag |= (
CS8 /* 8 bits */ CS8 /* 8 bits */
| CREAD /* enable receiver */ | CREAD /* enable receiver */
#endif
/* /*
Fun snippet from the FreeBSD manpage: Fun snippet from the FreeBSD manpage:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment