projects
/
comedilib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da5769b
)
print subdevice too on command dumps.
author
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 13 Aug 2007 21:19:36 +0000
(21:19 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 13 Aug 2007 21:19:36 +0000
(21:19 +0000)
demo/common.c
patch
|
blob
|
history
diff --git
a/demo/common.c
b/demo/common.c
index 0d2198bd7a40052e537dd55a3abf143022547c5d..f4c441cefbfa0f319919c6826487a6f8eef508e9 100644
(file)
--- a/
demo/common.c
+++ b/
demo/common.c
@@
-119,6
+119,9
@@
void dump_cmd(FILE *out,comedi_cmd *cmd)
{
char buf[100];
+ fprintf(out,"subdevice: %d\n",
+ cmd->subdev);
+
fprintf(out,"start: %-8s %d\n",
cmd_src(cmd->start_src,buf),
cmd->start_arg);