From: Martin Ling Date: Sun, 21 Sep 2014 18:25:47 +0000 (+0100) Subject: tondaj-sl-814: Remove SERIAL_NONBLOCK flag. X-Git-Tag: libsigrok-0.4.0~940 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=7ef93fb09fef3904e333cfbd28aacd418d324ad9;p=libsigrok.git tondaj-sl-814: Remove SERIAL_NONBLOCK flag. All calls in the driver are now explicitly (non)blocking. --- diff --git a/src/hardware/tondaj-sl-814/api.c b/src/hardware/tondaj-sl-814/api.c index 5a294abc..75d2d353 100644 --- a/src/hardware/tondaj-sl-814/api.c +++ b/src/hardware/tondaj-sl-814/api.c @@ -98,7 +98,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; sdi->inst_type = SR_INST_SERIAL;