]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/serial-lcr/api.c
serial: flush() after open() in the serial core.
[libsigrok.git] / src / hardware / serial-lcr / api.c
index d67171d4cdc653ebea95c381840f802eaa4d2da4..25b4e47ffa0c69540182ce322c9274ec27ca50c4 100644 (file)
@@ -105,7 +105,6 @@ static int scan_lcr_port(const struct lcr_info *lcr,
         * send data periodically. So we check if the packets match the
         * probed device's expected format.
         */
-       serial_flush(serial);
        if (lcr->packet_request) {
                ret = lcr->packet_request(serial);
                if (ret < 0) {