projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64fd6a3
)
TRIG_WAKE_EOS and CMD_EV_SCAN_END are not interchangeable
author
Frank Mori Hess
<fmhess@speakeasy.net>
Sat, 31 Jan 2004 22:27:36 +0000
(22:27 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Sat, 31 Jan 2004 22:27:36 +0000
(22:27 +0000)
comedi/drivers/rtd520.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/rtd520.c
b/comedi/drivers/rtd520.c
index 83b800e96e2ade02dca8defb4cd2b455bfba62c1..bc0a072e50bdf11d57c99aab271544a8441a2d94 100644
(file)
--- 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;