X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Finput%2Fbinary.c;h=b3f12d760b899692e4ef0b6424969b618bfabbd3;hb=0af636bed97c174bea46e61e961eaa1b0b162e0f;hp=813cf4a46e8be054d8ee0f42fc8dc0aca360191c;hpb=c7e455625807d31fcaf95f36a23f1afeba033e1f;p=libsigrok.git diff --git a/src/input/binary.c b/src/input/binary.c index 813cf4a4..b3f12d76 100644 --- a/src/input/binary.c +++ b/src/input/binary.c @@ -50,7 +50,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"));