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:
b5c63de
)
deprecate SR_DI_SAMPLERATES
author
Bert Vermeulen
<bert@biot.com>
Fri, 25 Jan 2013 02:04:59 +0000
(
03:04
+0100)
committer
Bert Vermeulen
<bert@biot.com>
Fri, 25 Jan 2013 02:04:59 +0000
(
03:04
+0100)
sigrok-cli.c
patch
|
blob
|
history
diff --git
a/sigrok-cli.c
b/sigrok-cli.c
index d3613106e4364d09cc15d503057c23cdc7f59d7a..a67970d10788b1246fdb3b7d6e8dd2e5b8feea1c 100644
(file)
--- a/
sigrok-cli.c
+++ b/
sigrok-cli.c
@@
-382,7
+382,7
@@
static void show_dev_detail(void)
} else if (srci->key == SR_CONF_SAMPLERATE) {
/* Supported samplerates */
printf(" %s", srci->id);
- if (sr_
info_get(sdi->driver, SR_DI_SAMPLERATES
,
+ if (sr_
config_list(sdi->driver, SR_CONF_SAMPLERATE
,
(const void **)&samplerates, sdi) != SR_OK) {
printf("\n");
continue;