]> sigrok.org Git - sigrok-cli.git/commitdiff
cli: configuring SRD probes no longer deletes them from the hash
authorBert Vermeulen <redacted>
Fri, 20 Jan 2012 21:26:47 +0000 (22:26 +0100)
committerBert Vermeulen <redacted>
Sat, 21 Jan 2012 14:06:21 +0000 (15:06 +0100)
sigrok-cli.c

index 90e92f5117bac286bad36e488c3c760cc00b5763..fa29c6c6229de31f80377d7af96c7869e719dd56 100644 (file)
@@ -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)