From: Bert Vermeulen Date: Fri, 25 Jan 2013 14:10:22 +0000 (+0100) Subject: Deprecate SR_DI_HWOPTS. X-Git-Tag: sigrok-cli-0.4.0~40 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=894e20532ebaf07e22259d5bcec1b44239855698;p=sigrok-cli.git Deprecate SR_DI_HWOPTS. --- diff --git a/sigrok-cli.c b/sigrok-cli.c index 6feabd4..981d6ef 100644 --- a/sigrok-cli.c +++ b/sigrok-cli.c @@ -342,7 +342,7 @@ static void show_dev_detail(void) printf("\n"); } - if ((sr_info_get(sdi->driver, SR_DI_HWOPTS, (const void **)&hwopts, + if ((sr_config_list(sdi->driver, SR_CONF_SCAN_OPTIONS, (const void **)&hwopts, NULL) == SR_OK) && hwopts) { printf("Supported driver options:\n"); for (i = 0; hwopts[i]; i++) {