Kernel: use termios c_cc values instead of hardcoded characters
This commit is contained in:
@@ -162,8 +162,8 @@ namespace Kernel
|
||||
.c_iflag = 0,
|
||||
.c_oflag = 0,
|
||||
.c_cflag = CS8,
|
||||
.c_lflag = ECHO | ICANON,
|
||||
.c_cc = {},
|
||||
.c_lflag = ECHO | ICANON | ISIG,
|
||||
.c_cc = TTY_DEFAULT_TERMIOS_CC,
|
||||
.c_ospeed = B38400,
|
||||
.c_ispeed = B38400,
|
||||
}, mode, uid, gid)
|
||||
|
||||
Reference in New Issue
Block a user