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:
|
case 6:
|
||||||
data->term.c_cflag |= CS6;
|
data->term.c_cflag |= CS6;
|
||||||
break;
|
break;
|
||||||
|
case 5:
|
||||||
|
data->term.c_cflag |= CS5;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
return SP_ERR_ARG;
|
return SP_ERR_ARG;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user