center-3xx: Remove SERIAL_NONBLOCK flag.
All serial calls in this driver are now explicitly (non)blocking.
This commit is contained in:
parent
c1da74fc0a
commit
258a23134d
|
@ -76,7 +76,7 @@ static GSList *center_scan(const char *conn, const char *serialcomm, int idx)
|
|||
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;
|
||||
|
||||
drvc = center_devs[idx].di->priv;
|
||||
|
|
Loading…
Reference in New Issue