From f2175b95b3e9aaa40e80be31ee0d9b84d0784a17 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Fri, 14 Dec 2001 19:15:31 +0000 Subject: [PATCH] fix for stop_src == TRIG_NONE --- comedi/drivers/das16.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.26.2