Module: xenomai-abe Branch: analogy Commit: e55ed4de3aec85a03cd3024b49a5ba16bf233eeb URL: http://git.xenomai.org/?p=xenomai-abe.git;a=commit;h=e55ed4de3aec85a03cd3024b49a5ba16bf233eeb
Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Wed Jun 16 00:34:20 2010 +0200 analogy: [loop] add a debug trace when trigger is called --- ksrc/drivers/analogy/testing/loop.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/ksrc/drivers/analogy/testing/loop.c b/ksrc/drivers/analogy/testing/loop.c index f73ad09..72748d8 100644 --- a/ksrc/drivers/analogy/testing/loop.c +++ b/ksrc/drivers/analogy/testing/loop.c @@ -124,6 +124,9 @@ int loop_cmd(a4l_subd_t *subd, a4l_cmd_t *cmd) int loop_trigger(a4l_subd_t *subd, lsampl_t trignum) { lpprv_t *priv = (lpprv_t *)subd->dev->priv; + + a4l_info(subd->dev, "loop_trigger: (subd=%d)\n", subd->idx); + priv->loop_running = 1; return 0; } _______________________________________________ Xenomai-git mailing list Xenomai-git@gna.org https://mail.gna.org/listinfo/xenomai-git