From: Bert Vermeulen Date: Fri, 25 Jan 2013 14:02:30 +0000 (+0100) Subject: Deprecate SR_DI_HWCAPS. X-Git-Tag: sigrok-cli-0.4.0~41 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=1cf6a109935a29127f6df954da2defdc73bdedaf;p=sigrok-cli.git Deprecate SR_DI_HWCAPS. --- 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;