atten-pps3xxx: Remove SERIAL_NONBLOCK.

All serial read/write calls in the driver are now explicitly (non)blocking.
This commit is contained in:
Martin Ling 2014-09-16 02:34:09 +01:00 committed by Uwe Hermann
parent c3116bc311
commit 5305266a28
1 changed files with 1 additions and 1 deletions

View File

@ -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);