aglient-dmm: Remove SERIAL_NONBLOCK flag.

All serial calls in this driver are now explicitly (non)blocking.
This commit is contained in:
Martin Ling 2014-09-16 02:17:47 +01:00 committed by Uwe Hermann
parent a5053ddd21
commit 64c536be52
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ static GSList *scan(GSList *options)
if (!(serial = sr_serial_dev_inst_new(conn, serialcomm))) if (!(serial = sr_serial_dev_inst_new(conn, serialcomm)))
return NULL; return NULL;
if (serial_open(serial, SERIAL_RDWR | SERIAL_NONBLOCK) != SR_OK) if (serial_open(serial, SERIAL_RDWR) != SR_OK)
return NULL; return NULL;
serial_flush(serial); serial_flush(serial);