spectrum
This commit is contained in:
parent
f0ca3f02b6
commit
5d11173711
@ -59,18 +59,18 @@ int PrgTic
|
|||||||
TA * p_ta = &p_ta_array[TA_LOCAL];
|
TA * p_ta = &p_ta_array[TA_LOCAL];
|
||||||
// Get the current value of the system time
|
// Get the current value of the system time
|
||||||
cur_time = p_ta->hook_table.GetSystemTime(TIMER_UNIT_MILLISECONDS);
|
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)
|
// if(cur_time-prev_time>=wait)
|
||||||
// {
|
// {
|
||||||
// prev_time = cur_time;
|
// prev_time = cur_time;
|
||||||
// spectrum();
|
// simple_rgb_test(p_ta_array);
|
||||||
// update_lights(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;
|
return RC;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user