Module: xenomai-gch
Branch: for-head
Commit: 3d980d4f189c3a7a7b42dc7b3db8d55e7e74e827
URL:    
http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=3d980d4f189c3a7a7b42dc7b3db8d55e7e74e827

Author: Alexis Berlemont <alexis.berlem...@gmail.com>
Date:   Sun Sep 27 16:25:43 2009 +0200

Add ai / ao trigger callback

---

 .../comedi/national_instruments/mio_common.c       |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/ksrc/drivers/comedi/national_instruments/mio_common.c 
b/ksrc/drivers/comedi/national_instruments/mio_common.c
index fbb4d59..8e9b5e1 100644
--- a/ksrc/drivers/comedi/national_instruments/mio_common.c
+++ b/ksrc/drivers/comedi/national_instruments/mio_common.c
@@ -4754,6 +4754,7 @@ int ni_E_init(comedi_dev_t *dev)
                subd->do_cmdtest = ni_ai_cmdtest;
                subd->do_cmd = ni_ai_cmd;
                subd->cancel = ni_ai_reset;
+               subd->trigger = ni_ai_inttrig;
 
                subd->munge = (boardtype.adbits > 16) ? 
                        ni_ai_munge32 : ni_ai_munge16;
@@ -4796,6 +4797,7 @@ int ni_E_init(comedi_dev_t *dev)
                        subd->do_cmd = &ni_ao_cmd;
                        subd->cmd_mask = &mio_ao_cmd_mask;
                        subd->do_cmdtest = &ni_ao_cmdtest;
+                       subd->trigger = ni_ao_inttrig;
                        if ((boardtype.reg_type & ni_reg_m_series_mask) == 0)
                                subd->munge = &ni_ao_munge;
                }


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to