Rev 483 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 483 | Rev 487 | ||
---|---|---|---|
Line 186... | Line 186... | ||
186 | /* Make a copy of the termios structure. */ |
186 | /* Make a copy of the termios structure. */ |
187 | tcgetattr(mk_socket, &termattr); |
187 | tcgetattr(mk_socket, &termattr); |
Line 188... | Line 188... | ||
188 | 188 | ||
189 | termattr.c_iflag = IGNBRK | IGNPAR; |
189 | termattr.c_iflag = IGNBRK | IGNPAR; |
- | 190 | termattr.c_cflag=CS8 | CREAD | CLOCAL ; |
|
- | 191 | termattr.c_cflag&= ~CBAUD; |
|
190 | termattr.c_cflag=CS8 | CREAD | CLOCAL; |
192 | |
- | 193 | termattr.c_cflag|=B57600; |
|
- | 194 | ||
Line 191... | Line 195... | ||
191 | // termattr.speed_t=B57600; |
195 |