From: Martin Ling Date: Sun, 21 Sep 2014 18:14:49 +0000 (+0100) Subject: norma-dmm: Remove SERIAL_NONBLOCK flag. X-Git-Tag: libsigrok-0.4.0~945 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=d12ef776d3e81f30ca75bbdab7ea96341ad930a4;p=libsigrok.git norma-dmm: Remove SERIAL_NONBLOCK flag. All calls in the driver are now explicitly (non)blocking. --- diff --git a/src/hardware/norma-dmm/api.c b/src/hardware/norma-dmm/api.c index deefceae..e1929bd7 100644 --- a/src/hardware/norma-dmm/api.c +++ b/src/hardware/norma-dmm/api.c @@ -115,7 +115,7 @@ static GSList *do_scan(struct sr_dev_driver* drv, 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);