This commit is contained in:
Leon Wilzer 2022-11-23 17:26:24 +01:00
parent ac505afafe
commit 1b38c4d638
1 changed files with 1 additions and 0 deletions

View File

@ -134,6 +134,7 @@ void simple_rgb_test
void update_lights(TA * p_ta_array)
{
TA * p_ta = &p_ta_array[TA_LOCAL];
if(green_state>LIGHT_MAX) { green_state=LIGHT_MAX; }
if(red_state>LIGHT_MAX) { red_state = LIGHT_MAX; }
if(blue_state>LIGHT_MAX) { blue_state = LIGHT_MAX; }