From ca4266a02f83b84c6baae1593641a37da4e8701c Mon Sep 17 00:00:00 2001 From: Martin Ling Date: Tue, 16 Sep 2014 02:49:27 +0100 Subject: [PATCH] brymen-dmm: Remove SERIAL_NONBLOCK flag. All serial read/write calls in the driver are now explicitly (non)blocking. --- src/hardware/brymen-dmm/api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);