conrad-digi-35-cpu: Remove SERIAL_NONBLOCK flag from open at scan time.
This open call is only made to check access, the port is closed immediately afterwards. The flag therefore has no effect.
This commit is contained in:
parent
c9fc06d7f0
commit
0ac161bba0
|
@ -86,7 +86,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);
|
||||||
|
|
Loading…
Reference in New Issue