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

index 18cd4a74039d138b2aa249ea3a0ae80e4e59a3cf..f48d08e36bc8a1ea82b00ed970b17ae796e967db 100644 (file)
@@ -424,7 +424,7 @@ static void show_dev_detail(void)
                } else if (srci->key == SR_CONF_TIMEBASE) {
                        /* Supported time bases */
                        printf("    %s", srci->id);
-                       if (sr_info_get(sdi->driver, SR_DI_TIMEBASES,
+                       if (sr_config_list(sdi->driver, SR_CONF_TIMEBASE,
                                        (const void **)&rationals, sdi) != SR_OK) {
                                printf("\n");
                                continue;