serial: Allow 5 and 6 data bits.
This commit is contained in:
parent
7b4edcb654
commit
a970522b6d
|
@ -350,7 +350,7 @@ SR_PRIV int serial_set_params(struct sr_serial_dev_inst *serial, int baudrate,
|
|||
*
|
||||
* @return SR_OK upon success, SR_ERR upon failure.
|
||||
*/
|
||||
#define SERIAL_COMM_SPEC "^(\\d+)/([78])([neo])([12])(.*)$"
|
||||
#define SERIAL_COMM_SPEC "^(\\d+)/([5678])([neo])([12])(.*)$"
|
||||
SR_PRIV int serial_set_paramstr(struct sr_serial_dev_inst *serial,
|
||||
const char *paramstr)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue