]> sigrok.org Git - sigrok-cli.git/commitdiff
Deprecate SR_DI_FILTERS.
authorBert Vermeulen <redacted>
Fri, 25 Jan 2013 10:20:01 +0000 (11:20 +0100)
committerBert Vermeulen <redacted>
Fri, 25 Jan 2013 10:20:01 +0000 (11:20 +0100)
sigrok-cli.c

index 8428f63d026bc0926e95588b89f027cc2d4bc6be..18cd4a74039d138b2aa249ea3a0ae80e4e59a3cf 100644 (file)
@@ -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;