X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Funi-t-ut181a%2Fapi.c;h=53fdf18cf9d59300e688641325b3a6d1a4116488;hb=e87bbbb959363a8f5e9117368f9d1d3e82c8e820;hp=5e12e7dae60cc2880cd4744bd0e3c5c160135f01;hpb=deb7615262ac4f9cc0750a08351afa7cbf9c34d5;p=libsigrok.git diff --git a/src/hardware/uni-t-ut181a/api.c b/src/hardware/uni-t-ut181a/api.c index 5e12e7da..53fdf18c 100644 --- a/src/hardware/uni-t-ut181a/api.c +++ b/src/hardware/uni-t-ut181a/api.c @@ -203,7 +203,6 @@ static GSList *scan(struct sr_dev_driver *di, GSList *options) serial = sr_serial_dev_inst_new(conn, serialcomm); ret = serial_open(serial, SERIAL_RDWR); snprintf(conn_id, sizeof(conn_id), "%s", serial->port); - serial_flush(serial); /* * We cannot identify the device at this point in time. * Successful open shall suffice for now. More activity