Remove bogus scan_end_src. By the way, the last log message should have said
authorFrank Mori Hess <fmhess@speakeasy.net>
Tue, 26 Oct 2004 22:25:39 +0000 (22:25 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Tue, 26 Oct 2004 22:25:39 +0000 (22:25 +0000)
"added support for stop_src==TRIG_NONE", instead of saying he added
support for externally triggered input commands

comedi/drivers/ni_pcidio.c

index a122c74f077cc4963b48017ac9fadc9672e55c5f..5f18db3701616631ebaa12977edb8c7356c10660 100644 (file)
@@ -668,7 +668,7 @@ static int ni_pcidio_cmdtest(comedi_device *dev,comedi_subdevice *s,
        if(!cmd->convert_src || tmp!=cmd->convert_src)err++;
 
        tmp=cmd->scan_end_src;
-       cmd->scan_end_src &= TRIG_COUNT|TRIG_NONE;  
+       cmd->scan_end_src &= TRIG_COUNT;  
        if(!cmd->scan_end_src || tmp!=cmd->scan_end_src)err++;
 
        tmp=cmd->stop_src;