]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/fluke-dmm/api.c
Removal of sdi->index, step 4: fix trivial sr_dev_inst_new() calls
[libsigrok.git] / src / hardware / fluke-dmm / api.c
index 74d477cb95f2505cb8056f2868d69463dca8ecff..55638e7c0894472c8a3a66301a0f78d749f959bd 100644 (file)
@@ -122,7 +122,7 @@ static GSList *fluke_scan(const char *conn, const char *serialcomm)
                                        continue;
                                /* Skip leading spaces in version number. */
                                for (s = 0; tokens[1][s] == ' '; s++);
-                               if (!(sdi = sr_dev_inst_new(0, SR_ST_INACTIVE, "Fluke",
+                               if (!(sdi = sr_dev_inst_new(SR_ST_INACTIVE, "Fluke",
                                                tokens[0] + 6, tokens[1] + s)))
                                        return NULL;
                                if (!(devc = g_try_malloc0(sizeof(struct dev_context)))) {