mirror of
git://sigrok.org/libserialport
synced 2023-08-10 21:13:24 +03:00
set_config(): Add missing CS5 handling.
This commit is contained in:
parent
c85d0a28de
commit
23922313b3
@ -897,6 +897,9 @@ static enum sp_return set_config(struct sp_port *port, struct port_data *data,
|
||||
case 6:
|
||||
data->term.c_cflag |= CS6;
|
||||
break;
|
||||
case 5:
|
||||
data->term.c_cflag |= CS5;
|
||||
break;
|
||||
default:
|
||||
return SP_ERR_ARG;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user