]> sigrok.org Git - libsigrok.git/blobdiff - src/input/vcd.c
Removal of sdi->index, step 3: sr_dev_inst_new() calls for input mods
[libsigrok.git] / src / input / vcd.c
index 62b9a090086f55d4c8dbb6fda98878605ed27c2d..d50374ab5382fca90a1a37ea1060b75d9662b421 100644 (file)
@@ -430,7 +430,7 @@ static int init(struct sr_input *in, GHashTable *options)
        inc->skip = g_variant_get_int32(g_hash_table_lookup(options, "skip"));
        inc->skip /= inc->downsample;
 
-       in->sdi = sr_dev_inst_new(0, SR_ST_ACTIVE, NULL, NULL, NULL);
+       in->sdi = sr_dev_inst_new(SR_ST_ACTIVE, NULL, NULL, NULL);
        in->priv = inc;
 
        for (i = 0; i < num_channels; i++) {