From: Bert Vermeulen Date: Fri, 25 Jan 2013 10:15:47 +0000 (+0100) Subject: Deprecate SR_DI_VDIVS. X-Git-Tag: sigrok-cli-0.4.0~46 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=9b0b39f6312c2ebbee92bd97076cffe63116c05e;p=sigrok-cli.git Deprecate SR_DI_VDIVS. --- diff --git a/sigrok-cli.c b/sigrok-cli.c index fd0b1bd..8428f63 100644 --- a/sigrok-cli.c +++ b/sigrok-cli.c @@ -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;