From: Martin Ling Date: Sun, 21 Sep 2014 18:15:36 +0000 (+0100) Subject: openbench-logic-sniffer: Remove SERIAL_NONBLOCK flag. X-Git-Tag: libsigrok-0.4.0~944 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=4ded59eef0db5deeffe554e05833eb0c2f09d90f;p=libsigrok.git openbench-logic-sniffer: Remove SERIAL_NONBLOCK flag. All calls in this driver are already explicitly (non)blocking. --- diff --git a/src/hardware/openbench-logic-sniffer/api.c b/src/hardware/openbench-logic-sniffer/api.c index 25f296eb..a3d65307 100644 --- a/src/hardware/openbench-logic-sniffer/api.c +++ b/src/hardware/openbench-logic-sniffer/api.c @@ -135,7 +135,7 @@ static GSList *scan(GSList *options) * have a match. */ sr_info("Probing %s.", conn); - if (serial_open(serial, SERIAL_RDWR | SERIAL_NONBLOCK) != SR_OK) + if (serial_open(serial, SERIAL_RDWR) != SR_OK) return NULL; ret = SR_OK;