From: David Schleef Date: Tue, 28 Aug 2001 23:50:37 +0000 (+0000) Subject: Fix to fast_1chan, so it supports TRIG_INT for analog output. X-Git-Tag: r0_7_17~30 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=3ed20f03ddc4205cde32a26ad263e45a9eb2a7de;p=comedilib.git Fix to fast_1chan, so it supports TRIG_INT for analog output. --- diff --git a/lib/cmd.c b/lib/cmd.c index 44a4291..df480f2 100644 --- a/lib/cmd.c +++ b/lib/cmd.c @@ -68,8 +68,8 @@ static int __generic_timed(comedi_t *it,unsigned int s, if(cmd->start_src&TRIG_NOW){ cmd->start_src=TRIG_NOW; cmd->start_arg=0; - }else if(cmd->start_src&TRIG_FOLLOW){ - cmd->start_src=TRIG_FOLLOW; + }else if(cmd->start_src&TRIG_INT){ + cmd->start_src=TRIG_INT; cmd->start_arg=0; }else{ DEBUG(3,"can't find good start_src\n");