]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/serial-dmm/api.c
serial-dmm: Remove SERIAL_NONBLOCK flag.
[libsigrok.git] / src / hardware / serial-dmm / api.c
index f423f474cf3f5602b3d8e2ae614f7622f22dad36..478110017f77d7a85eef4ce387ce2c925a402bba 100644 (file)
@@ -353,7 +353,7 @@ static GSList *sdmm_scan(const char *conn, const char *serialcomm, int dmm)
        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;
 
        sr_info("Probing serial port %s.", conn);