projects
/
sigrok-cli.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f082186
)
Deprecate SR_DI_PATTERNS.
author
Bert Vermeulen
<bert@biot.com>
Fri, 25 Jan 2013 02:39:18 +0000
(
03:39
+0100)
committer
Bert Vermeulen
<bert@biot.com>
Fri, 25 Jan 2013 02:39:18 +0000
(
03:39
+0100)
sigrok-cli.c
patch
|
blob
|
history
diff --git
a/sigrok-cli.c
b/sigrok-cli.c
index e95ec9ebbc687a1e120961748c1c77d212e770f0..eaec7621e2fae536029ba7a22a6223441539c41a 100644
(file)
--- a/
sigrok-cli.c
+++ b/
sigrok-cli.c
@@
-370,7
+370,7
@@
static void show_dev_detail(void)
if (srci->key == SR_CONF_PATTERN_MODE) {
/* Pattern generator modes */
printf(" %s", srci->id);
- if (sr_
info_get(sdi->driver, SR_DI_PATTERNS
,
+ if (sr_
config_list(sdi->driver, SR_CONF_PATTERN_MODE
,
(const void **)&stropts, sdi) == SR_OK) {
printf(" - supported patterns:\n");
for (i = 0; stropts[i]; i++)