X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fmastech-ms6514%2Fapi.c;h=6e22dd6c344f5f3a646668b525289ea62786fb7a;hb=cb828f1b3e00ccd0ad23d7cb98dca4d0d4749b07;hp=7173cb3c98db1ef47ee4989cf4e3bd871167c290;hpb=3b13990f7d193e8276eb7da27ab9a1fb8f01ee95;p=libsigrok.git diff --git a/src/hardware/mastech-ms6514/api.c b/src/hardware/mastech-ms6514/api.c index 7173cb3c..6e22dd6c 100644 --- a/src/hardware/mastech-ms6514/api.c +++ b/src/hardware/mastech-ms6514/api.c @@ -81,8 +81,6 @@ static GSList *scan(struct sr_dev_driver *di, GSList *options) sr_info("Probing serial port %s.", conn); - serial_flush(serial); - /* Let's get a bit of data and see if we can find a packet. */ if (serial_stream_detect(serial, buf, &len, (2 * MASTECH_MS6514_FRAME_SIZE), mastech_ms6514_packet_valid, 500) != SR_OK)