From a22d2f5aab1315ba7e96666f06b41b1504d08d9e Mon Sep 17 00:00:00 2001 From: David Schleef Date: Fri, 7 Jun 2002 00:01:13 +0000 Subject: [PATCH] Only advertise TRIG_NONE as a stop source, since that's what we support. --- comedi/drivers/dt282x.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; -- 2.26.2