For AO command, if scan_begin_src is TRIG_INT and not using DAC FIFO, need
authorIan Abbott <abbotti@mev.co.uk>
Mon, 3 Dec 2007 13:57:45 +0000 (13:57 +0000)
committerIan Abbott <abbotti@mev.co.uk>
Mon, 3 Dec 2007 13:57:45 +0000 (13:57 +0000)
to call comedi_event() in the inttrig function because it isn't being called
anywhere else.

comedi/drivers/amplc_pci230.c

index 24a17a5089c112ca8e12c648d63f5540aadbeb75..96630de1c8e0545ebae6527533497af5eb801734 100644 (file)
@@ -1275,6 +1275,7 @@ static int pci230_ao_inttrig_scan_begin(comedi_device * dev,
                        comedi_spin_unlock_irqrestore(&devpriv->
                                ao_stop_spinlock, irqflags);
                        pci230_handle_ao_nofifo(dev, s);
+                       comedi_event(dev, s);
                } else {
                        /* Using DAC FIFO. */
                        /* Read DACSWTRIG register to trigger conversion. */