From: Bert Vermeulen Date: Fri, 25 Jan 2013 10:20:01 +0000 (+0100) Subject: Deprecate SR_DI_FILTERS. X-Git-Tag: sigrok-cli-0.4.0~45 X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-cli.git;a=commitdiff_plain;h=b4bd48e9e67aa84c8ecca1a982767a1969ce0d33 Deprecate SR_DI_FILTERS. --- diff --git a/sigrok-cli.c b/sigrok-cli.c index 8428f63..18cd4a7 100644 --- a/sigrok-cli.c +++ b/sigrok-cli.c @@ -449,7 +449,7 @@ static void show_dev_detail(void) } else if (srci->key == SR_CONF_FILTER) { /* Supported filters */ printf(" %s", srci->id); - if (sr_info_get(sdi->driver, SR_DI_FILTERS, + if (sr_config_list(sdi->driver, SR_CONF_FILTER, (const void **)&stropts, sdi) != SR_OK) { printf("\n"); continue;