TRIG_WAKE_EOS and CMD_EV_SCAN_END are not interchangeable
authorFrank Mori Hess <fmhess@speakeasy.net>
Sat, 31 Jan 2004 22:27:36 +0000 (22:27 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Sat, 31 Jan 2004 22:27:36 +0000 (22:27 +0000)
comedi/drivers/rtd520.c

index 83b800e96e2ade02dca8defb4cd2b455bfba62c1..bc0a072e50bdf11d57c99aab271544a8441a2d94 100644 (file)
@@ -1912,7 +1912,7 @@ static int rtd_ai_cmd (
     if (TRIG_TIMER == cmd->scan_begin_src) {
                                        /* scan_begin_arg is in nanoseconds */
        /* find out how many samples to wait before transferring */
-       if (cmd->flags & COMEDI_EV_SCAN_END) {
+       if (cmd->flags & TRIG_WAKE_EOS) {
            /* this may generate un-sustainable interrupt rates */
            /* the application is responsible for doing the right thing */
            devpriv->transCount = cmd->chanlist_len;