]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/saleae-logic16/api.c
Removal of sdi->index, step 4: fix trivial sr_dev_inst_new() calls
[libsigrok.git] / src / hardware / saleae-logic16 / api.c
index e8ce53a877f11fbd72785d7c4088b1a9e9830aeb..bc5a3b9a5228672335e6b427d243c6b24892d316 100644 (file)
@@ -198,7 +198,7 @@ static GSList *scan(GSList *options)
                if (des.idVendor != LOGIC16_VID || des.idProduct != LOGIC16_PID)
                        continue;
 
-               sdi = sr_dev_inst_new(0, SR_ST_INITIALIZING,
+               sdi = sr_dev_inst_new(SR_ST_INITIALIZING,
                                      "Saleae", "Logic16", NULL);
                if (!sdi)
                        return NULL;