Deprecate SR_DI_VDIVS.
authorBert Vermeulen <bert@biot.com>
Fri, 25 Jan 2013 10:15:47 +0000 (11:15 +0100)
committerBert Vermeulen <bert@biot.com>
Fri, 25 Jan 2013 10:15:47 +0000 (11:15 +0100)
sigrok-cli.c

index fd0b1bda38bc868031964002fd02092da2f70bc8..8428f63d026bc0926e95588b89f027cc2d4bc6be 100644 (file)
@@ -461,7 +461,7 @@ static void show_dev_detail(void)
                } else if (srci->key == SR_CONF_VDIV) {
                        /* Supported volts/div values */
                        printf("    %s", srci->id);
-                       if (sr_info_get(sdi->driver, SR_DI_VDIVS,
+                       if (sr_config_list(sdi->driver, SR_CONF_VDIV,
                                        (const void **)&rationals, sdi) != SR_OK) {
                                printf("\n");
                                continue;