From aed6dda89255edb0f32c0e24f87c18045f5f2325 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Tue, 16 Jan 2001 17:15:43 +0000 Subject: [PATCH] bugfix on cmdtest ao --- comedi/drivers/ni_mio_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.26.2