Fix to fast_1chan, so it supports TRIG_INT for analog output.
authorDavid Schleef <ds@schleef.org>
Tue, 28 Aug 2001 23:50:37 +0000 (23:50 +0000)
committerDavid Schleef <ds@schleef.org>
Tue, 28 Aug 2001 23:50:37 +0000 (23:50 +0000)
lib/cmd.c

index 44a42919bf3b1ea3ffc343aca0fd67d023cbf0a4..df480f2ff4abbfc0d0f8b81fce3237a96d8df07e 100644 (file)
--- 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");