diff options
Diffstat (limited to 'openpicc/application/led.c')
-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); } /**********************************************************************/ |