mirror of
git://sigrok.org/libserialport
synced 2023-08-10 21:13:24 +03:00
Support 6-bit data on Unix.
This commit is contained in:
parent
e4cc1a537a
commit
d1d566f27f
@ -670,6 +670,9 @@ int sp_set_params(struct sp_port *port, int baudrate,
|
||||
case 7:
|
||||
term.c_cflag |= CS7;
|
||||
break;
|
||||
case 6:
|
||||
term.c_cflag |= CS6;
|
||||
break;
|
||||
default:
|
||||
return SP_ERR_ARG;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user