From: Frank Mori Hess Date: Thu, 2 Aug 2001 18:06:57 +0000 (+0000) Subject: fixed bug in cmdtest level 2 X-Git-Tag: r0_7_61~202 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9887d41bf036e89001a43f0e0df218a89c14b3f3;p=comedi.git fixed bug in cmdtest level 2 --- 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++; }