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:
parent
03b164f59c
commit
3ae4a6b8c3
|
@ -473,6 +473,11 @@ static void tty_txint(struct uart_dev_s *dev, bool enable)
|
|||
struct tty_priv_s *priv = dev->priv;
|
||||
|
||||
priv->txint = enable;
|
||||
|
||||
if (enable)
|
||||
{
|
||||
uart_xmitchars(dev);
|
||||
}
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
|
Loading…
Reference in New Issue