projects
/
comedilib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9f2536
)
Be a little more correct by setting CMDF_WRITE flag, in preparation
author
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 13 Aug 2007 21:20:35 +0000
(21:20 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 13 Aug 2007 21:20:35 +0000
(21:20 +0000)
for subdevices that support both input and output commands.
demo/ao_waveform.c
patch
|
blob
|
history
diff --git
a/demo/ao_waveform.c
b/demo/ao_waveform.c
index 33bab519cbdf0ba7ad805bdf3e740bbbe810061d..ad6d823123a0d13195502740036fbffc4788b97f 100644
(file)
--- a/
demo/ao_waveform.c
+++ b/
demo/ao_waveform.c
@@
-115,7
+115,7
@@
int main(int argc, char *argv[])
memset(&cmd,0,sizeof(cmd));
cmd.subdev = options.subdevice;
- cmd.flags =
0
;
+ cmd.flags =
CMDF_WRITE
;
cmd.start_src = TRIG_INT;
cmd.start_arg = 0;
cmd.scan_begin_src = TRIG_TIMER;