mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 20:44:39 +08:00
drivers/pty: Support get and set local mode of pty
Signed-off-by: xuwenjie <xuwenjie1@xiaomi.com>
This commit is contained in:
@@ -757,7 +757,7 @@ static int pty_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
|
||||
|
||||
termiosp->c_iflag = dev->pd_iflag;
|
||||
termiosp->c_oflag = dev->pd_oflag;
|
||||
termiosp->c_lflag = 0;
|
||||
termiosp->c_lflag = dev->pd_lflag;
|
||||
ret = OK;
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user