]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/appa-55ii/api.c
Removal of sdi->index, step 4: fix trivial sr_dev_inst_new() calls
[libsigrok.git] / src / hardware / appa-55ii / api.c
index b96bacfbac5bc6a8aa7748ffb39842e60bc1971d..ab3ad7906575142f6da3da2bc6cd8fcb7b71a392 100644 (file)
@@ -96,7 +96,7 @@ static GSList *scan(GSList *options)
 
        sr_info("Found device on port %s.", conn);
 
-       if (!(sdi = sr_dev_inst_new(0, SR_ST_INACTIVE, "APPA", "55II", NULL)))
+       if (!(sdi = sr_dev_inst_new(SR_ST_INACTIVE, "APPA", "55II", NULL)))
                goto scan_cleanup;
 
        if (!(devc = g_try_malloc0(sizeof(struct dev_context)))) {