]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/fx2lafw/api.c
Removal of sdi->index, step 4: fix trivial sr_dev_inst_new() calls
[libsigrok.git] / src / hardware / fx2lafw / api.c
index 8e28f22494cf146b26cc5e40feba453ab37c1ed3..522a94bf31b151213267316f2945dec6ed9ec044 100644 (file)
@@ -238,7 +238,7 @@ static GSList *scan(GSList *options)
                if (!prof)
                        continue;
 
-               sdi = sr_dev_inst_new(0, SR_ST_INITIALIZING,
+               sdi = sr_dev_inst_new(SR_ST_INITIALIZING,
                        prof->vendor, prof->model, prof->model_version);
                if (!sdi)
                        return NULL;