Only advertise TRIG_NONE as a stop source, since that's what we
authorDavid Schleef <ds@schleef.org>
Fri, 7 Jun 2002 00:01:13 +0000 (00:01 +0000)
committerDavid Schleef <ds@schleef.org>
Fri, 7 Jun 2002 00:01:13 +0000 (00:01 +0000)
support.

comedi/drivers/dt282x.c

index a651902093d3b3dc657f564388117dcb298c304d..6a2723d39a08885ca43e053e2e2ab619e634295e 100644 (file)
@@ -986,8 +986,7 @@ static int dt282x_ao_cmdtest(comedi_device *dev,comedi_subdevice *s,comedi_cmd *
        if(!cmd->scan_end_src || tmp!=cmd->scan_end_src)err++;
 
        tmp=cmd->stop_src;
-       //cmd->stop_src &= TRIG_COUNT|TRIG_NONE;
-       cmd->stop_src &= TRIG_COUNT;    /* XXX */
+       cmd->stop_src &= TRIG_NONE;
        if(!cmd->stop_src || tmp!=cmd->stop_src)err++;
 
        if(err)return 1;