From 0ac161bba0d9caaafcc2df946eaf242379eb4bfd Mon Sep 17 00:00:00 2001 From: Martin Ling Date: Sun, 21 Sep 2014 18:05:56 +0100 Subject: [PATCH] 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. --- src/hardware/conrad-digi-35-cpu/api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hardware/conrad-digi-35-cpu/api.c b/src/hardware/conrad-digi-35-cpu/api.c index f0bb2366..95b22007 100644 --- a/src/hardware/conrad-digi-35-cpu/api.c +++ b/src/hardware/conrad-digi-35-cpu/api.c @@ -86,7 +86,7 @@ static GSList *scan(GSList *options) 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; serial_flush(serial);