diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-09-13 10:24:25 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-09-15 10:27:12 +0200 |
commit | bbcdc302cd901e11b5c43527b91ffb5344669338 (patch) | |
tree | f0f01d8881258e89438582ef597ec00bdbb0b378 /cpukit/libcsupport/src/termios.c | |
parent | libio: Add rtems_libio_iop_flags() (diff) | |
download | rtems-bbcdc302cd901e11b5c43527b91ffb5344669338.tar.bz2 |
libio: Add rtems_libio_iop_is_no_delay()
Update #3132.
Diffstat (limited to '')
-rw-r--r-- | cpukit/libcsupport/src/termios.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/termios.c b/cpukit/libcsupport/src/termios.c index c454e18470..7a114a74b9 100644 --- a/cpukit/libcsupport/src/termios.c +++ b/cpukit/libcsupport/src/termios.c @@ -1230,7 +1230,7 @@ static uint32_t rtems_termios_write_tty (rtems_libio_t *iop, rtems_termios_tty *tty, const char *buf, uint32_t len) { - bool wait = ((iop->flags & LIBIO_FLAGS_NO_DELAY) == 0); + bool wait = !rtems_libio_iop_is_no_delay (iop); if (tty->termios.c_oflag & OPOST) { uint32_t todo = len; |