fixed bug in cmdtest level 2
authorFrank Mori Hess <fmhess@speakeasy.net>
Thu, 2 Aug 2001 18:06:57 +0000 (18:06 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Thu, 2 Aug 2001 18:06:57 +0000 (18:06 +0000)
comedi/drivers/rtd520.c

index f81e1b0b2b4c40a5077241fdc34e9e63535c32c5..f620249f390afa3ca7bd362901986c16ab969d1b 100644 (file)
@@ -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++;
     }