From: David Schleef Date: Tue, 16 Jan 2001 17:15:43 +0000 (+0000) Subject: bugfix on cmdtest ao X-Git-Tag: r0_7_55~10 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=aed6dda89255edb0f32c0e24f87c18045f5f2325;p=comedi.git bugfix on cmdtest ao --- diff --git a/comedi/drivers/ni_mio_common.c b/comedi/drivers/ni_mio_common.c index 9cf29498..62c5c097 100644 --- a/comedi/drivers/ni_mio_common.c +++ b/comedi/drivers/ni_mio_common.c @@ -1656,8 +1656,8 @@ static int ni_ao_cmdtest(comedi_device *dev,comedi_subdevice *s,comedi_cmd *cmd) /* step 2: make sure trigger sources are unique and mutually compatible */ - if(cmd->stop_src!=TRIG_TIMER && - cmd->stop_src!=TRIG_EXT)err++; + if(cmd->stop_src!=TRIG_COUNT && + cmd->stop_src!=TRIG_NONE)err++; if(err)return 2;