spectrum
This commit is contained in:
parent
c8e8b722be
commit
dd224fc223
@ -95,9 +95,6 @@ void simple_rgb_test
|
|||||||
)
|
)
|
||||||
{
|
{
|
||||||
TA * p_ta = &p_ta_array[TA_LOCAL];
|
TA * p_ta = &p_ta_array[TA_LOCAL];
|
||||||
if(cur_time-prev_time>=wait)
|
|
||||||
{
|
|
||||||
prev_time = cur_time;
|
|
||||||
p_ta->hook_table.DisplayMsg(p_ta, NULL);
|
p_ta->hook_table.DisplayMsg(p_ta, NULL);
|
||||||
|
|
||||||
*states[pin] = LIGHT_MAX;
|
*states[pin] = LIGHT_MAX;
|
||||||
@ -122,7 +119,6 @@ void simple_rgb_test
|
|||||||
p_ta->hook_table.DisplayMsg(p_ta, NULL);
|
p_ta->hook_table.DisplayMsg(p_ta, NULL);
|
||||||
pin = GREEN;
|
pin = GREEN;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void update_lights(TA * p_ta_array)
|
void update_lights(TA * p_ta_array)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user