From: Bert Vermeulen Date: Fri, 25 Jan 2013 10:04:57 +0000 (+0100) Subject: Deprecate SR_DI_COUPLING. X-Git-Tag: sigrok-cli-0.4.0~47 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=3ea086fce87fd7e1c13b5616cc0aa670a23ebb9f;p=sigrok-cli.git Deprecate SR_DI_COUPLING. --- diff --git a/sigrok-cli.c b/sigrok-cli.c index 0713b51..fd0b1bd 100644 --- a/sigrok-cli.c +++ b/sigrok-cli.c @@ -473,7 +473,7 @@ static void show_dev_detail(void) } else if (srci->key == SR_CONF_COUPLING) { /* Supported coupling settings */ printf(" %s", srci->id); - if (sr_info_get(sdi->driver, SR_DI_COUPLING, + if (sr_config_list(sdi->driver, SR_CONF_COUPLING, (const void **)&stropts, sdi) != SR_OK) { printf("\n"); continue;