]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/motech-lps-30x/api.c
serial: flush() after open() in the serial core.
[libsigrok.git] / src / hardware / motech-lps-30x / api.c
index 46407cc5f01cd95b498bad0eb744fd9d4a385cd9..e4a1fb6b9859d141e0074e8bdb2f430969fdb4ec 100644 (file)
@@ -378,7 +378,6 @@ static GSList *do_scan(lps_modelid modelid, struct sr_dev_driver *drv, GSList *o
                goto exit_err;
 
        /* Query and verify model string. */
-       serial_flush(serial);
        if (lps_cmd_reply(buf, serial, "MODEL") != SR_OK)
                return NULL;