projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba06dad
)
wake on end of scan based on TRIG_WAKE_EOS bit in command flags, instead
author
Frank Mori Hess
<fmhess@speakeasy.net>
Sun, 21 Mar 2004 17:11:16 +0000
(17:11 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Sun, 21 Mar 2004 17:11:16 +0000
(17:11 +0000)
of COMEDI_CB_EOS in callback mask
comedi/drivers/ni_mio_common.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/ni_mio_common.c
b/comedi/drivers/ni_mio_common.c
index 1ab6244c68a35e462661da8ee3565fe94b30de04..8c38e2e7dd3a6633ae7a91b522a4b8b4eb97fbea 100644
(file)
--- a/
comedi/drivers/ni_mio_common.c
+++ b/
comedi/drivers/ni_mio_common.c
@@
-1730,7
+1730,7
@@
static int ni_ai_cmd(comedi_device *dev,comedi_subdevice *s)
interrupt_a_enable|=AI_FIFO_Interrupt_Enable;
#endif
- if(
s->async->cb_mask&COMEDI_CB
_EOS){
+ if(
cmd->flags & TRIG_WAKE
_EOS){
/* wake on end-of-scan */
devpriv->aimode=AIMODE_SCAN;
}else{