From 1cf6a109935a29127f6df954da2defdc73bdedaf Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Fri, 25 Jan 2013 15:02:30 +0100 Subject: [PATCH] Deprecate SR_DI_HWCAPS. --- sigrok-cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sigrok-cli.c b/sigrok-cli.c index 0bf2d20..6feabd4 100644 --- a/sigrok-cli.c +++ b/sigrok-cli.c @@ -353,7 +353,7 @@ static void show_dev_detail(void) } title = "Supported device options:\n"; - if ((sr_info_get(sdi->driver, SR_DI_HWCAPS, (const void **)&hwcaps, + if ((sr_config_list(sdi->driver, SR_CONF_DEVICE_OPTIONS, (const void **)&hwcaps, NULL) != SR_OK) || !hwcaps) /* Driver supports no device instance options. */ return; -- 2.30.2