]> sigrok.org Git - sigrok-cli.git/commitdiff
Deprecate SR_DI_PATTERNS.
authorBert Vermeulen <redacted>
Fri, 25 Jan 2013 02:39:18 +0000 (03:39 +0100)
committerBert Vermeulen <redacted>
Fri, 25 Jan 2013 02:39:18 +0000 (03:39 +0100)
sigrok-cli.c

index e95ec9ebbc687a1e120961748c1c77d212e770f0..eaec7621e2fae536029ba7a22a6223441539c41a 100644 (file)
@@ -370,7 +370,7 @@ static void show_dev_detail(void)
                if (srci->key == SR_CONF_PATTERN_MODE) {
                        /* Pattern generator modes */
                        printf("    %s", srci->id);
-                       if (sr_info_get(sdi->driver, SR_DI_PATTERNS,
+                       if (sr_config_list(sdi->driver, SR_CONF_PATTERN_MODE,
                                        (const void **)&stropts, sdi) == SR_OK) {
                                printf(" - supported patterns:\n");
                                for (i = 0; stropts[i]; i++)