X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Funi-t-ut32x%2Fapi.c;h=0329727fbf5385522e1527af1f4a5d3b3644a8a1;hb=480efba284cbf84801af16d1997ce853d7fe5c63;hp=ce81b3cc792e32b4da3b9a9d97b35565c4f1761f;hpb=00f3c94386a1fe58f31f5bf4e82346ed31b84ff4;p=libsigrok.git diff --git a/src/hardware/uni-t-ut32x/api.c b/src/hardware/uni-t-ut32x/api.c index ce81b3cc..0329727f 100644 --- a/src/hardware/uni-t-ut32x/api.c +++ b/src/hardware/uni-t-ut32x/api.c @@ -90,7 +90,6 @@ static GSList *scan(struct sr_dev_driver *di, GSList *options) devices = NULL; serial = sr_serial_dev_inst_new(conn, serialcomm); rc = serial_open(serial, SERIAL_RDWR); - serial_flush(serial); /* Cannot query/identify the device. Successful open shall suffice. */ serial_close(serial); if (rc != SR_OK) {