From 9887d41bf036e89001a43f0e0df218a89c14b3f3 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Thu, 2 Aug 2001 18:06:57 +0000 Subject: [PATCH] fixed bug in cmdtest level 2 --- comedi/drivers/rtd520.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/comedi/drivers/rtd520.c b/comedi/drivers/rtd520.c index f81e1b0b..f620249f 100644 --- a/comedi/drivers/rtd520.c +++ b/comedi/drivers/rtd520.c @@ -1127,8 +1127,8 @@ static int rtd_ai_cmdtest ( cmd->convert_src !=TRIG_EXT) { err++; } - if (cmd->stop_src != TRIG_TIMER && - cmd->stop_src != TRIG_EXT) { + if (cmd->stop_src != TRIG_COUNT && + cmd->stop_src != TRIG_NONE) { err++; } -- 2.26.2