* libcsupport/src/termios_setinitialbaud.c: Fixed typo.
This commit is contained in:
Sebastian Huber
2011-12-14 09:22:43 +00:00
parent 40f8b21ef4
commit 3538e191ab
2 changed files with 5 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
2011-12-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/src/termios_setinitialbaud.c: Fixed typo.
2011-12-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/include/rtems/termiostypes.h,

View File

@@ -23,7 +23,7 @@ int rtems_termios_set_initial_baud(
int rv = 0;
tcflag_t c_cflag_baud = rtems_termios_number_to_baud(baud);
if ( c_cflag_baud == 0 ) {
if ( c_cflag_baud != 0 ) {
tcflag_t cbaud = CBAUD;
tty->termios.c_cflag = (tty->termios.c_cflag & ~cbaud) | c_cflag_baud;