]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/arachnid-labs-re-load-pro/api.c
serial: flush() after open() in the serial core.
[libsigrok.git] / src / hardware / arachnid-labs-re-load-pro / api.c
index cfb413d5a2581ca9a601565e12d3f10f670eb565..fb6f82727dedd9eafe515a5b27310bed96c6075d 100644 (file)
@@ -99,8 +99,6 @@ static GSList *scan(struct sr_dev_driver *di, GSList *options)
        if (serial_open(serial, SERIAL_RDWR) != SR_OK)
                return NULL;
 
-       serial_flush(serial);
-
        /*
         * First stop potentially running monitoring and wait for 50ms before
         * next command can be sent.
@@ -347,7 +345,6 @@ static int dev_acquisition_stop(struct sr_dev_inst *sdi)
        g_mutex_clear(&devc->acquisition_mutex);
 
        return ret;
-
 }
 
 static struct sr_dev_driver arachnid_labs_re_load_pro_driver_info = {