From: Martin Ling Date: Sun, 21 Sep 2014 16:51:50 +0000 (+0100) Subject: center-3xx: Remove SERIAL_NONBLOCK flag. X-Git-Tag: libsigrok-0.4.0~966 X-Git-Url: http://sigrok.org/gitweb/?a=commitdiff_plain;h=258a23134ddf6b71f6dc8032ff4919ef50c20b97;p=libsigrok.git center-3xx: Remove SERIAL_NONBLOCK flag. All serial calls in this driver are now explicitly (non)blocking. --- diff --git a/src/hardware/center-3xx/api.c b/src/hardware/center-3xx/api.c index 9a43323d..765819fa 100644 --- a/src/hardware/center-3xx/api.c +++ b/src/hardware/center-3xx/api.c @@ -76,7 +76,7 @@ static GSList *center_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 = center_devs[idx].di->priv;