mirror of
git://sigrok.org/libserialport
synced 2023-08-10 21:13:24 +03:00
Apply termios setting changes immediately.
This commit is contained in:
parent
e432ce6006
commit
3f5c06d067
@ -1549,7 +1549,7 @@ static enum sp_return set_config(struct sp_port *port, struct port_data *data,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tcsetattr(port->fd, TCSADRAIN, &data->term) < 0)
|
if (tcsetattr(port->fd, TCSANOW, &data->term) < 0)
|
||||||
RETURN_FAIL("tcsetattr() failed");
|
RETURN_FAIL("tcsetattr() failed");
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
|
Loading…
x
Reference in New Issue
Block a user