1
0
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:
Uwe Hermann 2013-11-19 12:32:01 +01:00
parent c85d0a28de
commit 23922313b3

View File

@ -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;
}