]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/tondaj-sl-814/api.c
Removal of sdi->index, step 4: fix trivial sr_dev_inst_new() calls
[libsigrok.git] / src / hardware / tondaj-sl-814 / api.c
index 75d2d35301e8bb8a468b64608d273a8bbeec340c..4578c21f1c4a7f68ac495deadcf65dbcaffc2c70 100644 (file)
@@ -84,7 +84,7 @@ static GSList *scan(GSList *options)
        if (!serialcomm)
                serialcomm = SERIALCOMM;
 
-       if (!(sdi = sr_dev_inst_new(0, SR_ST_INACTIVE, "Tondaj",
+       if (!(sdi = sr_dev_inst_new(SR_ST_INACTIVE, "Tondaj",
                                    "SL-814", NULL))) {
                sr_err("Failed to create device instance.");
                return NULL;