From: Martin Ling Date: Tue, 16 Sep 2014 01:34:09 +0000 (+0100) Subject: atten-pps3xxx: Remove SERIAL_NONBLOCK. X-Git-Tag: libsigrok-0.4.0~973 X-Git-Url: http://sigrok.org/gitweb/?a=commitdiff_plain;h=5305266a28c1af09267f43f8941b6012be3d954f;p=libsigrok.git atten-pps3xxx: Remove SERIAL_NONBLOCK. All serial read/write calls in the driver are now explicitly (non)blocking. --- 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);