X-Git-Url: http://sigrok.org/gitweb/?p=libsigrok.git;a=blobdiff_plain;f=src%2Finput%2Fvcd.c;h=e6bc05e5a6b18130524f7b8d11d85ece2ca054f1;hp=ef78c9fe477e7bc24a31328018d4778d13089a11;hb=0af636bed97c174bea46e61e961eaa1b0b162e0f;hpb=c7e455625807d31fcaf95f36a23f1afeba033e1f 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++) {