]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/manson-hcs-3xxx/api.c
Removal of sdi->index, step 4: fix trivial sr_dev_inst_new() calls
[libsigrok.git] / src / hardware / manson-hcs-3xxx / api.c
index 58fe7e1f9df40f92c93f9ac066577e580707ad7f..b0dc27338371870c1f3ea0a16c6e375ce7062d76 100644 (file)
@@ -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;