From 3ed20f03ddc4205cde32a26ad263e45a9eb2a7de Mon Sep 17 00:00:00 2001 From: David Schleef Date: Tue, 28 Aug 2001 23:50:37 +0000 Subject: [PATCH] Fix to fast_1chan, so it supports TRIG_INT for analog output. --- lib/cmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"); -- 2.26.2