atten-pps3xxx: Remove SERIAL_NONBLOCK.
All serial read/write calls in the driver are now explicitly (non)blocking.
This commit is contained in:
parent
c3116bc311
commit
5305266a28
|
@ -122,7 +122,7 @@ static GSList *scan(GSList *options, int modelid)
|
|||
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;
|
||||
serial_flush(serial);
|
||||
|
||||
|
|
Loading…
Reference in New Issue