From: Frank Mori Hess Date: Mon, 13 Aug 2007 21:20:35 +0000 (+0000) Subject: Be a little more correct by setting CMDF_WRITE flag, in preparation X-Git-Tag: r0_8_1~18 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=aa946e4810c256bb8c62b8f391694d00c82723a8;p=comedilib.git Be a little more correct by setting CMDF_WRITE flag, in preparation for subdevices that support both input and output commands. --- diff --git a/demo/ao_waveform.c b/demo/ao_waveform.c index 33bab51..ad6d823 100644 --- 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;