spectrum
This commit is contained in:
parent
18f7beaf6d
commit
e786945b8a
@ -66,13 +66,13 @@ int PrgTic
|
|||||||
// }
|
// }
|
||||||
if(cur_time-prev_time>=wait*0.1)
|
if(cur_time-prev_time>=wait*0.1)
|
||||||
{
|
{
|
||||||
spectrum(p_ta_array);
|
spectrum();
|
||||||
}
|
}
|
||||||
update_lights(p_ta_array);
|
update_lights(p_ta_array);
|
||||||
return RC;
|
return RC;
|
||||||
}
|
}
|
||||||
|
|
||||||
void spectrum(TA * p_ta_array)
|
void spectrum()
|
||||||
{
|
{
|
||||||
switch(spectrum_state)
|
switch(spectrum_state)
|
||||||
{
|
{
|
||||||
@ -101,6 +101,7 @@ void simple_rgb_test
|
|||||||
TA * p_ta_array // pointer to the array of transfer areas
|
TA * p_ta_array // pointer to the array of transfer areas
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
TA * p_ta = &p_ta_array[TA_LOCAL];
|
||||||
if(cur_time-prev_time>=wait)
|
if(cur_time-prev_time>=wait)
|
||||||
{
|
{
|
||||||
prev_time = cur_time;
|
prev_time = cur_time;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user