From: Daniel Elstner Date: Thu, 20 Feb 2014 05:31:40 +0000 (+0100) Subject: Pass new unit_size argument to srd_inst_probe_set_all() X-Git-Tag: sigrok-cli-0.5.0~38 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=342ad7895e3beeea0035c38c2439189a3ae270c9;p=sigrok-cli.git Pass new unit_size argument to srd_inst_probe_set_all() --- diff --git a/decode.c b/decode.c index c62722e..0b7d9ee 100644 --- a/decode.c +++ b/decode.c @@ -179,7 +179,7 @@ int register_pds(const char *opt_pds, char *opt_pd_annotations) g_strdup(di->inst_id), GINT_TO_POINTER(-1)); /* Remap the probes if needed. */ - if (srd_inst_probe_set_all(di, probes) != SRD_OK) { + if (srd_inst_probe_set_all(di, probes, (g_hash_table_size(probes) + 7) / 8) != SRD_OK) { ret = 1; break; }