driver/serial/pty.c fix update local flags for the pty device attribute
Signed-off-by: gaojiawei <gaojiawei@xiaomi.com>
This commit is contained in:
parent
8068dc0238
commit
64b51bbbf7
@ -714,6 +714,7 @@ static int pty_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
|
||||
|
||||
dev->pd_iflag = termiosp->c_iflag;
|
||||
dev->pd_oflag = termiosp->c_oflag;
|
||||
dev->pd_lflag = termiosp->c_lflag;
|
||||
ret = OK;
|
||||
}
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user