diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2011-12-14 09:22:43 +0000 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2011-12-14 09:22:43 +0000 |
commit | 3538e191ab21f6d24444d01f7ad243dc170bc953 (patch) | |
tree | 489a6e88f59f4879382b3e2c8bb625b57a238fa3 | |
parent | 40f8b21ef432b5854ad09881ab8fbcbee18cf9e1 (diff) |
2011-12-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/src/termios_setinitialbaud.c: Fixed typo.
-rw-r--r-- | cpukit/ChangeLog | 4 | ||||
-rw-r--r-- | cpukit/libcsupport/src/termios_setinitialbaud.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index f3409c02f1..d523ea318e 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,9 @@ 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, libcsupport/src/termios_baud2num.c, libcsupport/src/termios_baudtable.c, diff --git a/cpukit/libcsupport/src/termios_setinitialbaud.c b/cpukit/libcsupport/src/termios_setinitialbaud.c index 4d7ec558fe..b8ce26c392 100644 --- a/cpukit/libcsupport/src/termios_setinitialbaud.c +++ b/cpukit/libcsupport/src/termios_setinitialbaud.c @@ -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; |