From: Uwe Hermann Date: Tue, 19 Nov 2013 11:32:01 +0000 (+0100) Subject: set_config(): Add missing CS5 handling. X-Git-Tag: libserialport-0.1.0~99 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=23922313b38239ee0965f88055e3c8b2bf342136;p=libserialport.git set_config(): Add missing CS5 handling. --- diff --git a/serialport.c b/serialport.c index 7796fce..fc286cd 100644 --- a/serialport.c +++ b/serialport.c @@ -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; }