From bbcdc302cd901e11b5c43527b91ffb5344669338 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 13 Sep 2017 10:24:25 +0200 Subject: libio: Add rtems_libio_iop_is_no_delay() Update #3132. --- cpukit/libcsupport/src/termios.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/libcsupport/src/termios.c') 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; -- cgit v1.2.3