From 5305266a28c1af09267f43f8941b6012be3d954f Mon Sep 17 00:00:00 2001 From: Martin Ling Date: Tue, 16 Sep 2014 02:34:09 +0100 Subject: [PATCH] atten-pps3xxx: Remove SERIAL_NONBLOCK. All serial read/write calls in the driver are now explicitly (non)blocking. --- src/hardware/atten-pps3xxx/api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hardware/atten-pps3xxx/api.c b/src/hardware/atten-pps3xxx/api.c index 0d7c33e5..2e62fb80 100644 --- a/src/hardware/atten-pps3xxx/api.c +++ b/src/hardware/atten-pps3xxx/api.c @@ -122,7 +122,7 @@ static GSList *scan(GSList *options, int modelid) 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);