From: Bert Vermeulen Date: Tue, 16 Apr 2013 23:08:18 +0000 (+0200) Subject: hantek-dso: Mark connection as USB X-Git-Tag: dsupstream~117 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=d0eec1eea17c62d731e44fc0b3b436b78d0df718;p=libsigrok.git hantek-dso: Mark connection as USB --- diff --git a/hardware/hantek-dso/api.c b/hardware/hantek-dso/api.c index 6583e0ff..528a86d8 100644 --- a/hardware/hantek-dso/api.c +++ b/hardware/hantek-dso/api.c @@ -311,6 +311,7 @@ static GSList *hw_scan(GSList *options) sdi->status = SR_ST_INACTIVE; devices = g_slist_append(devices, sdi); devc = sdi->priv; + 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);