From: Martin Ling Date: Tue, 16 Sep 2014 01:17:47 +0000 (+0100) Subject: aglient-dmm: Remove SERIAL_NONBLOCK flag. X-Git-Tag: libsigrok-0.4.0~977 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=64c536be5257604fb92bc727ed17cab626c1d455;p=libsigrok.git aglient-dmm: Remove SERIAL_NONBLOCK flag. All serial calls in this driver are now explicitly (non)blocking. --- diff --git a/src/hardware/agilent-dmm/api.c b/src/hardware/agilent-dmm/api.c index c89d18ed..fb40818f 100644 --- a/src/hardware/agilent-dmm/api.c +++ b/src/hardware/agilent-dmm/api.c @@ -112,7 +112,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);