From 5cf23f529349de140ed24782264d27f5321a8cc7 Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Fri, 25 Jan 2013 11:52:55 +0100 Subject: [PATCH 1/1] Deprecate SR_DI_TRIGGER_TYPES. --- sigrok-cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.30.2