From: David Schleef Date: Fri, 7 Jun 2002 00:01:13 +0000 (+0000) Subject: Only advertise TRIG_NONE as a stop source, since that's what we X-Git-Tag: r0_7_65~14 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a22d2f5aab1315ba7e96666f06b41b1504d08d9e;p=comedi.git Only advertise TRIG_NONE as a stop source, since that's what we support. --- diff --git a/comedi/drivers/dt282x.c b/comedi/drivers/dt282x.c index a6519020..6a2723d3 100644 --- a/comedi/drivers/dt282x.c +++ b/comedi/drivers/dt282x.c @@ -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;