]> sigrok.org Git - libsigrok.git/commitdiff
tondaj-sl-814: Remove SERIAL_NONBLOCK flag.
authorMartin Ling <redacted>
Sun, 21 Sep 2014 18:25:47 +0000 (19:25 +0100)
committerUwe Hermann <redacted>
Wed, 24 Sep 2014 21:30:32 +0000 (23:30 +0200)
All calls in the driver are now explicitly (non)blocking.

src/hardware/tondaj-sl-814/api.c

index 5a294abc4ba7e72e0835b4e09acd0e8f9cb901a8..75d2d35301e8bb8a468b64608d273a8bbeec340c 100644 (file)
@@ -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;