From: Bert Vermeulen Date: Fri, 25 Jan 2013 02:39:18 +0000 (+0100) Subject: Deprecate SR_DI_PATTERNS. X-Git-Tag: sigrok-cli-0.4.0~49 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=958194c04c1f4a3800fd77c98825a872b9185aee;p=sigrok-cli.git Deprecate SR_DI_PATTERNS. --- diff --git a/sigrok-cli.c b/sigrok-cli.c index e95ec9e..eaec762 100644 --- a/sigrok-cli.c +++ b/sigrok-cli.c @@ -370,7 +370,7 @@ static void show_dev_detail(void) if (srci->key == SR_CONF_PATTERN_MODE) { /* Pattern generator modes */ printf(" %s", srci->id); - if (sr_info_get(sdi->driver, SR_DI_PATTERNS, + if (sr_config_list(sdi->driver, SR_CONF_PATTERN_MODE, (const void **)&stropts, sdi) == SR_OK) { printf(" - supported patterns:\n"); for (i = 0; stropts[i]; i++)