mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
serial/pty: Don't initialize pd_iflag to ISIG
since ISIG belong local mode flags not input mode flags, but local mode isn't implemented by pty driver yet. Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
e3fed03e43
commit
3ec208fdbc
@@ -1087,7 +1087,6 @@ int pty_register(int minor)
|
||||
devpair->pp_master.pd_master = true;
|
||||
devpair->pp_slave.pd_devpair = devpair;
|
||||
#ifdef CONFIG_SERIAL_TERMIOS
|
||||
devpair->pp_slave.pd_iflag = ISIG;
|
||||
devpair->pp_slave.pd_oflag = OPOST | ONLCR;
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user