This commit is contained in:
Leon Wilzer 2022-11-23 17:03:13 +01:00
parent 18f7beaf6d
commit e786945b8a

View File

@ -66,13 +66,13 @@ int PrgTic
// }
if(cur_time-prev_time>=wait*0.1)
{
spectrum(p_ta_array);
spectrum();
}
update_lights(p_ta_array);
return RC;
}
void spectrum(TA * p_ta_array)
void spectrum()
{
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 = &p_ta_array[TA_LOCAL];
if(cur_time-prev_time>=wait)
{
prev_time = cur_time;