From 413ebaabc799592f0bd0a7feaaf86c1e258551e0 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> Date: Tue, 8 Aug 2006 16:37:19 +0000 Subject: make trigger pulse a bit 'longer' git-svn-id: https://svn.openpcd.org:2342/trunk@79 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 --- openpcd/firmware/src/trigger.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openpcd/firmware/src/trigger.c b/openpcd/firmware/src/trigger.c index a9be775..7fc51d1 100644 --- a/openpcd/firmware/src/trigger.c +++ b/openpcd/firmware/src/trigger.c @@ -9,6 +9,9 @@ void trigger_init(void) void trigger_pulse(void) { + volatile int i; AT91F_PIO_SetOutput(AT91C_BASE_PIOA, OPENPCD_PIO_TRIGGER); + for (i=0; i < 0xff; i++) + { } AT91F_PIO_ClearOutput(AT91C_BASE_PIOA, OPENPCD_PIO_TRIGGER); } -- cgit v1.2.3