handle ai error events before exiting handler
authorFrank Mori Hess <fmhess@speakeasy.net>
Tue, 11 Mar 2003 19:55:04 +0000 (19:55 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Tue, 11 Mar 2003 19:55:04 +0000 (19:55 +0000)
comedi/drivers/ni_mio_common.c

index 3be67445b2ed3cea4a20f910dda54c29c4b7d03c..167c70420d36956021f15ed674626362fa7aba0f 100644 (file)
@@ -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;
                }