From: Bert Vermeulen Date: Fri, 25 Jan 2013 10:22:38 +0000 (+0100) Subject: Deprecate SR_DI_TIMEBASES. X-Git-Tag: sigrok-cli-0.4.0~44 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=2bedb9bfabb42230833528deedfb9e4e6bedba39;p=sigrok-cli.git Deprecate SR_DI_TIMEBASES. --- diff --git a/sigrok-cli.c b/sigrok-cli.c index 18cd4a7..f48d08e 100644 --- a/sigrok-cli.c +++ b/sigrok-cli.c @@ -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;