projects
/
sigrok-cli.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Deprecate SR_DI_HWCAPS.
[sigrok-cli.git]
/
sigrok-cli.c
diff --git
a/sigrok-cli.c
b/sigrok-cli.c
index 0bf2d20ec9940f3b5499e36ed7e6d8c6b2fa57e8..6feabd4df3838e281dda077a76007537f2976a7f 100644
(file)
--- a/
sigrok-cli.c
+++ b/
sigrok-cli.c
@@
-353,7
+353,7
@@
static void show_dev_detail(void)
}
title = "Supported device options:\n";
}
title = "Supported device options:\n";
- if ((sr_
info_get(sdi->driver, SR_DI_HWCAP
S, (const void **)&hwcaps,
+ if ((sr_
config_list(sdi->driver, SR_CONF_DEVICE_OPTION
S, (const void **)&hwcaps,
NULL) != SR_OK) || !hwcaps)
/* Driver supports no device instance options. */
return;
NULL) != SR_OK) || !hwcaps)
/* Driver supports no device instance options. */
return;