summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author[email protected] <[email protected]>2009-12-28 15:41:21 +0000
committer[email protected] <[email protected]>2009-12-28 15:41:21 +0000
commit78de03446bdc2ed0c56e76c0beff8221a358c250 (patch)
tree624bcdd233218280297091a7fcdacfba9c3662c2
parentbcaadfa91f0c9095a8d37f5460213f0ca7308dba (diff)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@256 bbd45198-f89e-11dd-88c7-29a3b14d5316
-rw-r--r--bsp/mini2440/application.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/bsp/mini2440/application.c b/bsp/mini2440/application.c
index 2695e75cb4..f0cc65e5e6 100644
--- a/bsp/mini2440/application.c
+++ b/bsp/mini2440/application.c
@@ -92,12 +92,14 @@ void rt_led_thread_entry(void* parameter)
{
while(1)
{
- /* led on 1s */
+ /* light on leds for one second */
rt_hw_led_on(LED2|LED3);
+ rt_hw_led_off(LED1|LED4);
rt_thread_delay(100);
- /* led off 1s */
+ /* light off leds for one second */
rt_hw_led_off(LED2|LED3);
+ rt_hw_led_on(LED1|LED4);
rt_thread_delay(100);
}