]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/colead-slm/api.c
Removal of sdi->index, step 4: fix trivial sr_dev_inst_new() calls
[libsigrok.git] / src / hardware / colead-slm / api.c
index 0f4225e5c93af561d2d499f0d9d8d2edf0ee2f81..9ea441781520244c00e52ffaf5a4d5215044fc7d 100644 (file)
@@ -82,7 +82,7 @@ static GSList *scan(GSList *options)
        if (!serialcomm)
                serialcomm = SERIALCOMM;
 
-       if (!(sdi = sr_dev_inst_new(0, SR_ST_INACTIVE, "Colead",
+       if (!(sdi = sr_dev_inst_new(SR_ST_INACTIVE, "Colead",
                        "SL-5868P", NULL)))
                return NULL;