From aa946e4810c256bb8c62b8f391694d00c82723a8 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Mon, 13 Aug 2007 21:20:35 +0000 Subject: [PATCH] Be a little more correct by setting CMDF_WRITE flag, in preparation for subdevices that support both input and output commands. --- demo/ao_waveform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.26.2