From: Bert Vermeulen Date: Fri, 20 Jan 2012 21:26:47 +0000 (+0100) Subject: cli: configuring SRD probes no longer deletes them from the hash X-Git-Tag: sigrok-cli-0.3.0~63 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=248ad03233cf82ec6a453343a9f9b9b13233724d;p=sigrok-cli.git cli: configuring SRD probes no longer deletes them from the hash --- diff --git a/sigrok-cli.c b/sigrok-cli.c index 90e92f5..fa29c6c 100644 --- a/sigrok-cli.c +++ b/sigrok-cli.c @@ -504,11 +504,6 @@ static int register_pds(struct sr_device *device, const char *pdstring) if (srd_instance_set_probes(di, pd) != SRD_OK) return 1; - if (g_hash_table_size(pd) > 0) { - fprintf(stderr, "Unknown options or probes specified."); - return 1; - } - err_out: g_strfreev(pdtokens); if (pd)