projects
/
sigrok-cli.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cli: configuring SRD probes no longer deletes them from the hash
[sigrok-cli.git]
/
sigrok-cli.c
diff --git
a/sigrok-cli.c
b/sigrok-cli.c
index 90e92f5117bac286bad36e488c3c760cc00b5763..fa29c6c6229de31f80377d7af96c7869e719dd56 100644
(file)
--- 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)