From 258a23134ddf6b71f6dc8032ff4919ef50c20b97 Mon Sep 17 00:00:00 2001 From: Martin Ling Date: Sun, 21 Sep 2014 17:51:50 +0100 Subject: [PATCH] center-3xx: Remove SERIAL_NONBLOCK flag. All serial calls in this driver are now explicitly (non)blocking. --- src/hardware/center-3xx/api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;