Updating default termios initialization for dedicated input/output baud rates

updates #2897.
This commit is contained in:
Kevin Kirspel
2017-04-10 09:41:02 -04:00
committed by Joel Sherrill
parent 2c23639ddd
commit d2390ce47b

View File

@@ -578,10 +578,13 @@ rtems_termios_open_tty(
*/
tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;
tty->termios.c_oflag = OPOST | ONLCR | XTABS;
tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;
tty->termios.c_cflag = CS8 | CREAD | CLOCAL;
tty->termios.c_lflag =
ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;
tty->termios.c_ispeed = B9600;
tty->termios.c_ospeed = B9600;
tty->termios.c_cc[VINTR] = '\003';
tty->termios.c_cc[VQUIT] = '\034';
tty->termios.c_cc[VERASE] = '\177';