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:
9b0b39f
)
Deprecate SR_DI_FILTERS.
author
Bert Vermeulen
<bert@biot.com>
Fri, 25 Jan 2013 10:20:01 +0000
(11:20 +0100)
committer
Bert Vermeulen
<bert@biot.com>
Fri, 25 Jan 2013 10:20:01 +0000
(11:20 +0100)
sigrok-cli.c
patch
|
blob
|
history
diff --git
a/sigrok-cli.c
b/sigrok-cli.c
index 8428f63d026bc0926e95588b89f027cc2d4bc6be..18cd4a74039d138b2aa249ea3a0ae80e4e59a3cf 100644
(file)
--- a/
sigrok-cli.c
+++ b/
sigrok-cli.c
@@
-449,7
+449,7
@@
static void show_dev_detail(void)
} else if (srci->key == SR_CONF_FILTER) {
/* Supported filters */
printf(" %s", srci->id);
} else if (srci->key == SR_CONF_FILTER) {
/* Supported filters */
printf(" %s", srci->id);
- if (sr_
info_get(sdi->driver, SR_DI_FILTERS
,
+ if (sr_
config_list(sdi->driver, SR_CONF_FILTER
,
(const void **)&stropts, sdi) != SR_OK) {
printf("\n");
continue;
(const void **)&stropts, sdi) != SR_OK) {
printf("\n");
continue;