X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Finput%2Fvcd.c;h=e6bc05e5a6b18130524f7b8d11d85ece2ca054f1;hb=41caa31909882a34b88c8b8a844d555816b78453;hp=ef78c9fe477e7bc24a31328018d4778d13089a11;hpb=d5cc282ff8026173c14ff6957482a24b2d6feef3;p=libsigrok.git diff --git a/src/input/vcd.c b/src/input/vcd.c index ef78c9fe..e6bc05e5 100644 --- a/src/input/vcd.c +++ b/src/input/vcd.c @@ -429,7 +429,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(SR_ST_ACTIVE, NULL, NULL, NULL); + in->sdi = sr_dev_inst_new(); in->priv = inc; for (i = 0; i < num_channels; i++) {