diff --git a/bsp/mini2440/application.c b/bsp/mini2440/application.c index 2695e75cb43ab7ea424d47e68f8f64239e6639f1..f0cc65e5e6110218c3f143a25e53638c68cc571c 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); }