From: Bert Vermeulen Date: Fri, 17 Jan 2014 11:11:52 +0000 (+0100) Subject: uni-t-ut32x: Fix typo that prevents usage with multiple devices. X-Git-Tag: libsigrok-0.3.0~251 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=e196cb6193421ec8de4f026a1bf22c14f623b3f3;p=libsigrok.git uni-t-ut32x: Fix typo that prevents usage with multiple devices. --- diff --git a/hardware/uni-t-ut32x/api.c b/hardware/uni-t-ut32x/api.c index 347149e0..84f87198 100644 --- a/hardware/uni-t-ut32x/api.c +++ b/hardware/uni-t-ut32x/api.c @@ -75,7 +75,7 @@ static GSList *scan(GSList *options) return NULL; devices = NULL; - if ((usb_devices = sr_usb_find(drvc->sr_ctx->libusb_ctx, USB_CONN))) { + if ((usb_devices = sr_usb_find(drvc->sr_ctx->libusb_ctx, conn))) { /* We have a list of sr_usb_dev_inst matching the connection * string. Wrap them in sr_dev_inst and we're done. */ for (l = usb_devices; l; l = l->next) {