From f421cde7f8fe94a715bf14c1c9a8fb8dc4a4387d Mon Sep 17 00:00:00 2001 From: Mariano Alvira Date: Wed, 22 Apr 2009 16:11:32 -0400 Subject: [PATCH] changed tmr test to blink purple --- tests/tmr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/tmr.c b/tests/tmr.c index d09912e63..f83107acb 100644 --- a/tests/tmr.c +++ b/tests/tmr.c @@ -55,7 +55,7 @@ __attribute__ ((section ("startup"))) void main(void) { /* pin direction */ - reg32(GPIO_PAD_DIR0) = 0x00000400; + reg32(GPIO_PAD_DIR0) = 0x00000500; /* timer setup */ /* CTRL */ @@ -80,7 +80,7 @@ void main(void) { while(1) { /* blink on */ - reg32(GPIO_DATA0) = 0x00000400; + reg32(GPIO_DATA0) = 0x00000500; while((reg16(TMR0_SCTRL)>>15) == 0) { continue; } reg16(TMR0_SCTRL) = 0; /*clear bit 15, and all the others --- should be ok, but clearly not "the right thing to do" */