projects
/
sigrok-cli.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1cf6a10
)
Deprecate SR_DI_HWOPTS.
author
Bert Vermeulen
<bert@biot.com>
Fri, 25 Jan 2013 14:10:22 +0000
(15:10 +0100)
committer
Bert Vermeulen
<bert@biot.com>
Fri, 25 Jan 2013 14:10:22 +0000
(15:10 +0100)
sigrok-cli.c
patch
|
blob
|
history
diff --git
a/sigrok-cli.c
b/sigrok-cli.c
index 6feabd4df3838e281dda077a76007537f2976a7f..981d6efeb92e790e53a553209a736cc9abf33fdd 100644
(file)
--- a/
sigrok-cli.c
+++ b/
sigrok-cli.c
@@
-342,7
+342,7
@@
static void show_dev_detail(void)
printf("\n");
}
printf("\n");
}
- if ((sr_
info_get(sdi->driver, SR_DI_HWOPT
S, (const void **)&hwopts,
+ if ((sr_
config_list(sdi->driver, SR_CONF_SCAN_OPTION
S, (const void **)&hwopts,
NULL) == SR_OK) && hwopts) {
printf("Supported driver options:\n");
for (i = 0; hwopts[i]; i++) {
NULL) == SR_OK) && hwopts) {
printf("Supported driver options:\n");
for (i = 0; hwopts[i]; i++) {