diff options
author | (no author) <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-08-08 16:37:19 +0000 |
---|---|---|
committer | (no author) <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-08-08 16:37:19 +0000 |
commit | 413ebaabc799592f0bd0a7feaaf86c1e258551e0 (patch) | |
tree | e4b0223dea57ee54517fc30135f4ba15d9d46d6f | |
parent | 6a3cb645a6fe512bb78b1ef3f581c84712b7d813 (diff) |
make trigger pulse a bit 'longer'
git-svn-id: https://svn.openpcd.org:2342/trunk@79 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
-rw-r--r-- | openpcd/firmware/src/trigger.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); } |