X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Finput%2Fchronovu_la8.c;h=c1cf4d387991d5d4f311458be5db2bc46787492d;hb=0af636bed97c174bea46e61e961eaa1b0b162e0f;hp=55331df83ddbac741f73b25adffc4b193375ea21;hpb=c7e455625807d31fcaf95f36a23f1afeba033e1f;p=libsigrok.git diff --git a/src/input/chronovu_la8.c b/src/input/chronovu_la8.c index 55331df8..c1cf4d38 100644 --- a/src/input/chronovu_la8.c +++ b/src/input/chronovu_la8.c @@ -62,7 +62,7 @@ static int init(struct sr_input *in, GHashTable *options) return SR_ERR_ARG; } - in->sdi = sr_dev_inst_new(SR_ST_ACTIVE, NULL, NULL, NULL); + in->sdi = sr_dev_inst_new(); in->priv = inc = g_malloc0(sizeof(struct context)); inc->samplerate = g_variant_get_uint64(g_hash_table_lookup(options, "samplerate"));