From: Martin Ling Date: Tue, 16 Sep 2014 01:49:27 +0000 (+0100) Subject: brymen-dmm: Remove SERIAL_NONBLOCK flag. X-Git-Tag: libsigrok-0.4.0~970 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=ca4266a02f83b84c6baae1593641a37da4e8701c;p=libsigrok.git brymen-dmm: Remove SERIAL_NONBLOCK flag. All serial read/write calls in the driver are now explicitly (non)blocking. --- diff --git a/src/hardware/brymen-dmm/api.c b/src/hardware/brymen-dmm/api.c index 51334217..553e38b2 100644 --- a/src/hardware/brymen-dmm/api.c +++ b/src/hardware/brymen-dmm/api.c @@ -54,7 +54,7 @@ static GSList *brymen_scan(const char *conn, const char *serialcomm) 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; sr_info("Probing port %s.", conn);