]> sigrok.org Git - libsigrok.git/commitdiff
norma-dmm: Remove SERIAL_NONBLOCK flag.
authorMartin Ling <redacted>
Sun, 21 Sep 2014 18:14:49 +0000 (19:14 +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/norma-dmm/api.c

index deefceaebac6f9623281733ad0d388314a1911a2..e1929bd70a6069f2885420a39b4a8592e0cc247d 100644 (file)
@@ -115,7 +115,7 @@ static GSList *do_scan(struct sr_dev_driver* drv, 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;
 
        serial_flush(serial);