uni-t-dmm: Require conn parameter for scan

Since the uni-t-ut32x series handles devices with the same USB VID.PID,
which is linked to the WCH CH9325 USB/HID-UART interface chip, this
driver can no longer assume it can handle anything with this VID.PID.
This commit is contained in:
Bert Vermeulen 2013-08-11 10:52:43 +02:00
parent d6ff054ae5
commit 56e76981bc
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ static GSList *scan(GSList *options, int dmm)
} }
} }
if (!conn) if (!conn)
conn = UNI_T_UT_D04_NEW; return NULL;
devices = NULL; devices = NULL;
if (!(usb_devices = sr_usb_find(drvc->sr_ctx->libusb_ctx, conn))) { if (!(usb_devices = sr_usb_find(drvc->sr_ctx->libusb_ctx, conn))) {