projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
363c155
)
fix for stop_src == TRIG_NONE
author
Frank Mori Hess
<fmhess@speakeasy.net>
Fri, 14 Dec 2001 19:15:31 +0000
(19:15 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Fri, 14 Dec 2001 19:15:31 +0000
(19:15 +0000)
comedi/drivers/das16.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/das16.c
b/comedi/drivers/das16.c
index 86482f7e94bf6831a189829e3ea06665784d2213..28d2df607f5b1af36ea6a950f348523a3a33d1e6 100644
(file)
--- a/
comedi/drivers/das16.c
+++ b/
comedi/drivers/das16.c
@@
-1141,7
+1141,8
@@
static void das16_interrupt(int irq, void *d, struct pt_regs *regs)
async->events |= COMEDI_CB_BLOCK;
- if(devpriv->adc_count == 0)
+ if(async->cmd.stop_src == TRIG_COUNT &&
+ devpriv->adc_count == 0)
{ /* end of acquisition */
das16_cancel(dev, s);
async->events |= COMEDI_CB_EOA;