X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=parsers.c;fp=parsers.c;h=43b61b698cef21912f44707cdcf1c49fb65aa1f1;hb=7b30c426552e9baf9998df61447adec91a17cb9d;hp=12b37662eaecce07019f42655913777227ec987d;hpb=6df458b71ace93941780153b79b348d4fd99493d;p=sigrok-cli.git diff --git a/parsers.c b/parsers.c index 12b3766..43b61b6 100644 --- a/parsers.c +++ b/parsers.c @@ -48,8 +48,8 @@ GSList *parse_probestring(struct sr_dev_inst *sdi, const char *probestring) char **tokens, **range, **names, *eptr, str[8]; if (!probestring || !probestring[0]) - /* All probes are enabled by default by the driver. */ - return NULL; + /* Use all probes by default. */ + return g_slist_copy(sdi->probes); ret = SR_OK; range = NULL;