mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 05:16:47 +08:00
sim/uart: do uart_xmitchars() when tty_txint enabled
to speed up the logout speed Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
@@ -473,6 +473,11 @@ static void tty_txint(struct uart_dev_s *dev, bool enable)
|
|||||||
struct tty_priv_s *priv = dev->priv;
|
struct tty_priv_s *priv = dev->priv;
|
||||||
|
|
||||||
priv->txint = enable;
|
priv->txint = enable;
|
||||||
|
|
||||||
|
if (enable)
|
||||||
|
{
|
||||||
|
uart_xmitchars(dev);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
|||||||
Reference in New Issue
Block a user