summaryrefslogtreecommitdiff
path: root/openpicc/application/led.c
diff options
context:
space:
mode:
authorhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-11-18 00:01:55 +0000
committerhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-11-18 00:01:55 +0000
commitac0ed9df3ba3fdacf7d3afa1e612f33f86144f35 (patch)
treee2fdcfd9c84ed77b65eac7d805aa3b81ea146e70 /openpicc/application/led.c
parent3973ad39af7d6ddf6475425178a9b2b2b71f7fd1 (diff)
Make vLedBlink* more recognizeable on oscilloscope
git-svn-id: https://svn.openpcd.org:2342/trunk@329 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpicc/application/led.c')
-rw-r--r--openpicc/application/led.c4
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);
}
/**********************************************************************/
personal git repositories of Harald Welte. Your mileage may vary