diff --git a/Demo_C/Demo/LED/LED.c b/Demo_C/Demo/LED/LED.c index 67f2798..a38a64d 100644 --- a/Demo_C/Demo/LED/LED.c +++ b/Demo_C/Demo/LED/LED.c @@ -59,18 +59,18 @@ int PrgTic TA * p_ta = &p_ta_array[TA_LOCAL]; // Get the current value of the system time cur_time = p_ta->hook_table.GetSystemTime(TIMER_UNIT_MILLISECONDS); - if(cur_time-prev_time>=wait) - { - prev_time = cur_time; - simple_rgb_test(p_ta_array); - update_lights(p_ta_array); - } // if(cur_time-prev_time>=wait) // { // prev_time = cur_time; - // spectrum(); + // simple_rgb_test(p_ta_array); // update_lights(p_ta_array); // } + if(cur_time-prev_time>=wait) + { + prev_time = cur_time; + spectrum(); + update_lights(p_ta_array); + } return RC; }