]> sigrok.org Git - libsigrok.git/commitdiff
mic-985xx: Remove SERIAL_NONBLOCK call.
authorMartin Ling <redacted>
Sun, 21 Sep 2014 17:55:21 +0000 (18:55 +0100)
committerUwe Hermann <redacted>
Wed, 24 Sep 2014 21:30:31 +0000 (23:30 +0200)
All calls in the driver are now explicitly (non)blocking.

src/hardware/mic-985xx/api.c

index 8f9dd5cbef7ad301bb27197ebd2604ef04ef35a6..fa3534c4d0bd768108f3882ef898007d7c9d4702 100644 (file)
@@ -71,7 +71,7 @@ static GSList *mic_scan(const char *conn, const char *serialcomm, int idx)
        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;
 
        drvc = mic_devs[idx].di->priv;