From 327f88f008d81f040f6270d4cf762a5cd1ff23b9 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Sat, 31 Jan 2004 22:27:36 +0000 Subject: [PATCH] TRIG_WAKE_EOS and CMD_EV_SCAN_END are not interchangeable --- comedi/drivers/rtd520.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comedi/drivers/rtd520.c b/comedi/drivers/rtd520.c index 83b800e9..bc0a072e 100644 --- a/comedi/drivers/rtd520.c +++ b/comedi/drivers/rtd520.c @@ -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; -- 2.26.2