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

index 0713b51ccda63247d9639ba7314e2ccb3f69062d..fd0b1bda38bc868031964002fd02092da2f70bc8 100644 (file)
@@ -473,7 +473,7 @@ static void show_dev_detail(void)
                } else if (srci->key == SR_CONF_COUPLING) {
                        /* Supported coupling settings */
                        printf("    %s", srci->id);
-                       if (sr_info_get(sdi->driver, SR_DI_COUPLING,
+                       if (sr_config_list(sdi->driver, SR_CONF_COUPLING,
                                        (const void **)&stropts, sdi) != SR_OK) {
                                printf("\n");
                                continue;