From: Uwe Hermann Date: Fri, 10 May 2013 17:16:25 +0000 (+0200) Subject: zeroplus: Properly set inst_type to SR_INST_USB. X-Git-Tag: libsigrok-0.2.1~92 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=8111446ae005bb4feb8859dd2cd12f46ec4d6050;p=libsigrok.git zeroplus: Properly set inst_type to SR_INST_USB. --- diff --git a/hardware/zeroplus-logic-cube/api.c b/hardware/zeroplus-logic-cube/api.c index 13c649df..bd943154 100644 --- a/hardware/zeroplus-logic-cube/api.c +++ b/hardware/zeroplus-logic-cube/api.c @@ -328,6 +328,7 @@ static GSList *hw_scan(GSList *options) devices = g_slist_append(devices, sdi); drvc->instances = g_slist_append(drvc->instances, sdi); + sdi->inst_type = SR_INST_USB; sdi->conn = sr_usb_dev_inst_new( libusb_get_bus_number(devlist[i]), libusb_get_device_address(devlist[i]), NULL);