From: Martin Ling Date: Sun, 21 Sep 2014 18:05:03 +0000 (+0100) Subject: motech-lps-30x: Remove SERIAL_NONBLOCK. X-Git-Tag: libsigrok-0.4.0~949 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=5b980134c527de2f7971a69f7264fffd726625ea;p=libsigrok.git motech-lps-30x: Remove SERIAL_NONBLOCK. All calls in the driver are now explicitly (non)blocking. --- diff --git a/src/hardware/motech-lps-30x/api.c b/src/hardware/motech-lps-30x/api.c index d031bee3..f0a0fd87 100644 --- a/src/hardware/motech-lps-30x/api.c +++ b/src/hardware/motech-lps-30x/api.c @@ -399,7 +399,7 @@ static GSList *do_scan(lps_modelid modelid, struct sr_dev_driver *drv, GSList *o 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) goto exit_err; /* Query and verify model string. */