X-Git-Url: http://sigrok.org/gitweb/?p=libsigrok.git;a=blobdiff_plain;f=src%2Fhardware%2Fmanson-hcs-3xxx%2Fapi.c;h=b0dc27338371870c1f3ea0a16c6e375ce7062d76;hp=58fe7e1f9df40f92c93f9ac066577e580707ad7f;hb=aed4ad0beaf64062752039a13f9a95326aa1df87;hpb=f2209364737835ba78126cf7f2a707f63182f0e6 diff --git a/src/hardware/manson-hcs-3xxx/api.c b/src/hardware/manson-hcs-3xxx/api.c index 58fe7e1f..b0dc2733 100644 --- a/src/hardware/manson-hcs-3xxx/api.c +++ b/src/hardware/manson-hcs-3xxx/api.c @@ -150,7 +150,7 @@ static GSList *scan(GSList *options) } /* Init device instance, etc. */ - if (!(sdi = sr_dev_inst_new(0, SR_ST_INACTIVE, "Manson", + if (!(sdi = sr_dev_inst_new(SR_ST_INACTIVE, "Manson", models[model_id].name, NULL))) { sr_err("Failed to create device instance."); return NULL;