mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-05 19:26:15 +00:00
trivial: Set up two flags not set by cfmakeraw()
This commit is contained in:
parent
7a44ff9748
commit
dc390e3a68
@ -369,6 +369,11 @@ fu_device_altos_tty_open (FuDeviceAltos *device, GError **error)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/* one input byte is enough to return
|
||||
* inter-character timer off */
|
||||
termios.c_cc[VMIN] = 1;
|
||||
termios.c_cc[VTIME] = 0;
|
||||
|
||||
/* set all new data */
|
||||
if (tcsetattr (priv->tty_fd, TCSAFLUSH, &termios) < 0) {
|
||||
g_set_error_literal (error,
|
||||
|
Loading…
Reference in New Issue
Block a user