From: Frank Mori Hess Date: Fri, 14 Dec 2001 19:15:31 +0000 (+0000) Subject: fix for stop_src == TRIG_NONE X-Git-Tag: r0_7_62~50 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f2175b95b3e9aaa40e80be31ee0d9b84d0784a17;p=comedi.git fix for stop_src == TRIG_NONE --- diff --git a/comedi/drivers/das16.c b/comedi/drivers/das16.c index 86482f7e..28d2df60 100644 --- 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;