From: Martin Ling Date: Sun, 21 Sep 2014 17:55:21 +0000 (+0100) Subject: mic-985xx: Remove SERIAL_NONBLOCK call. X-Git-Tag: libsigrok-0.4.0~952 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=51056d61ec66124b236072ce9d28162ddecdcdcd;p=libsigrok.git mic-985xx: Remove SERIAL_NONBLOCK call. All calls in the driver are now explicitly (non)blocking. --- diff --git a/src/hardware/mic-985xx/api.c b/src/hardware/mic-985xx/api.c index 8f9dd5cb..fa3534c4 100644 --- a/src/hardware/mic-985xx/api.c +++ b/src/hardware/mic-985xx/api.c @@ -71,7 +71,7 @@ static GSList *mic_scan(const char *conn, const char *serialcomm, int idx) 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; drvc = mic_devs[idx].di->priv;