spectrum
This commit is contained in:
parent
3612b4b5df
commit
e1adace604
@ -39,8 +39,8 @@ void PrgInit
|
||||
)
|
||||
{
|
||||
prev_time = 0;
|
||||
green_state = LIGHT_MIN;
|
||||
red_state = LIGHT_MIN;
|
||||
green_state = LIGHT_MIN;
|
||||
blue_state = LIGHT_MIN;
|
||||
states[0] = &red_state;
|
||||
states[1] = &green_state;
|
||||
@ -66,8 +66,8 @@ int PrgTic
|
||||
if(cur_time-prev_time>=wait)
|
||||
{
|
||||
prev_time = cur_time;
|
||||
update_lights(p_ta_array);
|
||||
spectrum();
|
||||
update_lights(p_ta_array);
|
||||
}
|
||||
return RC;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user