From: Frank Mori Hess Date: Fri, 31 Aug 2001 23:19:52 +0000 (+0000) Subject: fixed bug that I did that was noted by allan willcox X-Git-Tag: r0_7_17~29 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=a6f0492b24e5a6790fecf3ae67ed254561ff6ed2;p=comedilib.git fixed bug that I did that was noted by allan willcox --- diff --git a/demo/ao_waveform.c b/demo/ao_waveform.c index 11f82d7..d244289 100644 --- a/demo/ao_waveform.c +++ b/demo/ao_waveform.c @@ -142,6 +142,7 @@ int main(int argc, char *argv[]) memset(&insn, 0, sizeof(comedi_insn)); insn.insn = INSN_INTTRIG; + insn.subdev = subdevice; comedi_do_insn(dev, &insn); while(1){