]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/center-3xx/api.c
serial: flush() after open() in the serial core.
[libsigrok.git] / src / hardware / center-3xx / api.c
index 4591ae967dc7d0e5e85fede5b37c6dae5a343dc6..76d234ffd980cff708f793607ca00fa6508a7680 100644 (file)
@@ -67,8 +67,6 @@ static GSList *center_scan(const char *conn, const char *serialcomm, int idx)
        if (serial_open(serial, SERIAL_RDWR) != SR_OK)
                return NULL;
 
-       serial_flush(serial);
-
        sr_info("Found device on port %s.", conn);
 
        sdi = g_malloc0(sizeof(struct sr_dev_inst));