From: Bert Vermeulen Date: Fri, 25 Jan 2013 10:26:59 +0000 (+0100) Subject: Deprecate SR_DI_TRIGGER_SOURCES. X-Git-Tag: sigrok-cli-0.4.0~43 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=d3d7e30adeec0708d654d66d804a4de80d715565;p=sigrok-cli.git Deprecate SR_DI_TRIGGER_SOURCES. --- diff --git a/sigrok-cli.c b/sigrok-cli.c index f48d08e..c95cf8a 100644 --- a/sigrok-cli.c +++ b/sigrok-cli.c @@ -437,7 +437,7 @@ static void show_dev_detail(void) } else if (srci->key == SR_CONF_TRIGGER_SOURCE) { /* Supported trigger sources */ printf(" %s", srci->id); - if (sr_info_get(sdi->driver, SR_DI_TRIGGER_SOURCES, + if (sr_config_list(sdi->driver, SR_CONF_TRIGGER_SOURCE, (const void **)&stropts, sdi) != SR_OK) { printf("\n"); continue;