From: Frank Mori Hess Date: Tue, 11 Mar 2003 19:55:04 +0000 (+0000) Subject: handle ai error events before exiting handler X-Git-Tag: r0_7_67x~67 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bcf2926f3832b22062e3c3c85a1a02fd6c73c95e;p=comedi.git handle ai error events before exiting handler --- diff --git a/comedi/drivers/ni_mio_common.c b/comedi/drivers/ni_mio_common.c index 3be67445..167c7042 100644 --- a/comedi/drivers/ni_mio_common.c +++ b/comedi/drivers/ni_mio_common.c @@ -532,6 +532,7 @@ static void handle_a_interrupt(comedi_device *dev,unsigned short status, AI_FIFO_Interrupt_Enable,0); s->async->events |= COMEDI_CB_ERROR | COMEDI_CB_EOA; + comedi_event(dev,s,s->async->events); return; }