tondaj-sl-814: Remove SERIAL_NONBLOCK flag.
All calls in the driver are now explicitly (non)blocking.
This commit is contained in:
parent
539a85596f
commit
7ef93fb09f
|
@ -98,7 +98,7 @@ static GSList *scan(GSList *options)
|
|||
if (!(serial = sr_serial_dev_inst_new(conn, serialcomm)))
|
||||
return NULL;
|
||||
|
||||
if (serial_open(serial, SERIAL_RDWR | SERIAL_NONBLOCK) != SR_OK)
|
||||
if (serial_open(serial, SERIAL_RDWR) != SR_OK)
|
||||
return NULL;
|
||||
|
||||
sdi->inst_type = SR_INST_SERIAL;
|
||||
|
|
Loading…
Reference in New Issue