From: Bert Vermeulen Date: Fri, 25 Jan 2013 02:04:59 +0000 (+0100) Subject: deprecate SR_DI_SAMPLERATES X-Git-Tag: sigrok-cli-0.4.0~51 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=d2f671dce752792e12f1fbbf200e37db36d88c24;p=sigrok-cli.git deprecate SR_DI_SAMPLERATES --- diff --git a/sigrok-cli.c b/sigrok-cli.c index d361310..a67970d 100644 --- a/sigrok-cli.c +++ b/sigrok-cli.c @@ -382,7 +382,7 @@ static void show_dev_detail(void) } else if (srci->key == SR_CONF_SAMPLERATE) { /* Supported samplerates */ printf(" %s", srci->id); - if (sr_info_get(sdi->driver, SR_DI_SAMPLERATES, + if (sr_config_list(sdi->driver, SR_CONF_SAMPLERATE, (const void **)&samplerates, sdi) != SR_OK) { printf("\n"); continue;