]> sigrok.org Git - libsigrok.git/commitdiff
center-3xx: Remove SERIAL_NONBLOCK flag.
authorMartin Ling <redacted>
Sun, 21 Sep 2014 16:51:50 +0000 (17:51 +0100)
committerUwe Hermann <redacted>
Wed, 24 Sep 2014 21:30:00 +0000 (23:30 +0200)
All serial calls in this driver are now explicitly (non)blocking.

src/hardware/center-3xx/api.c

index 9a43323da3d8a9f451b7b49e001e20005517c088..765819fac486e6ed0170994b9fce75d49bc42599 100644 (file)
@@ -76,7 +76,7 @@ static GSList *center_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 = center_devs[idx].di->priv;