]> sigrok.org Git - libsigrok.git/commitdiff
openbench-logic-sniffer: Remove SERIAL_NONBLOCK flag.
authorMartin Ling <redacted>
Sun, 21 Sep 2014 18:15:36 +0000 (19:15 +0100)
committerUwe Hermann <redacted>
Wed, 24 Sep 2014 21:30:31 +0000 (23:30 +0200)
All calls in this driver are already explicitly (non)blocking.

src/hardware/openbench-logic-sniffer/api.c

index 25f296ebb6db4532c1ede91ccf9d97d719473005..a3d653071f5762449fe13fc5f07c30f0fcb144ea 100644 (file)
@@ -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;