From: Bert Vermeulen Date: Fri, 25 Jan 2013 10:52:55 +0000 (+0100) Subject: Deprecate SR_DI_TRIGGER_TYPES. X-Git-Tag: sigrok-cli-0.4.0~42 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=5cf23f529349de140ed24782264d27f5321a8cc7;p=sigrok-cli.git Deprecate SR_DI_TRIGGER_TYPES. --- diff --git a/sigrok-cli.c b/sigrok-cli.c index c95cf8a..0bf2d20 100644 --- a/sigrok-cli.c +++ b/sigrok-cli.c @@ -332,7 +332,7 @@ static void show_dev_detail(void) print_dev_line(sdi); - if (sr_info_get(sdi->driver, SR_DI_TRIGGER_TYPES, (const void **)&charopts, + if (sr_config_list(sdi->driver, SR_CONF_TRIGGER_TYPE, (const void **)&charopts, sdi) == SR_OK && charopts) { printf("Supported triggers: "); while (*charopts) {