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

index f48d08e36bc8a1ea82b00ed970b17ae796e967db..c95cf8a0d16a8f9f7c278ac31a77d977f6b394f1 100644 (file)
@@ -437,7 +437,7 @@ static void show_dev_detail(void)
                } else if (srci->key == SR_CONF_TRIGGER_SOURCE) {
                        /* Supported trigger sources */
                        printf("    %s", srci->id);
-                       if (sr_info_get(sdi->driver, SR_DI_TRIGGER_SOURCES,
+                       if (sr_config_list(sdi->driver, SR_CONF_TRIGGER_SOURCE,
                                        (const void **)&stropts, sdi) != SR_OK) {
                                printf("\n");
                                continue;