diff options
author | henryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2007-11-18 00:01:55 +0000 |
---|---|---|
committer | henryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2007-11-18 00:01:55 +0000 |
commit | ac0ed9df3ba3fdacf7d3afa1e612f33f86144f35 (patch) | |
tree | e2fdcfd9c84ed77b65eac7d805aa3b81ea146e70 | |
parent | 3973ad39af7d6ddf6475425178a9b2b2b71f7fd1 (diff) |
Make vLedBlink* more recognizeable on oscilloscope
git-svn-id: https://svn.openpcd.org:2342/trunk@329 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
-rw-r--r-- | openpicc/application/led.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openpicc/application/led.c b/openpicc/application/led.c index 6defff6..9b6861a 100644 --- a/openpicc/application/led.c +++ b/openpicc/application/led.c @@ -44,7 +44,7 @@ void vLedBlinkRed(void) { volatile int i=0; vLedSetRed(1); - for(i=0; i<BLINK_TIME; i++) (void)i; + for(i=0; i<BLINK_TIME; i++) {vLedSetRed(0);vLedSetRed(1);} vLedSetRed(0); } /**********************************************************************/ @@ -62,7 +62,7 @@ void vLedBlinkGreen(void) { volatile int i=0; vLedSetGreen(1); - for(i=0; i<BLINK_TIME; i++) (void)i; + for(i=0; i<BLINK_TIME; i++) {vLedSetGreen(0);vLedSetGreen(1);} vLedSetGreen(0); } /**********************************************************************/ |