Fixed end of the timing data setup, all values will be set to zero.

This commit is contained in:
Kai Lauterbach 2023-05-10 08:33:12 +02:00
parent eea9c75c21
commit f935948402

View file

@ -165,6 +165,16 @@ void tc_update_main()
{
// no new predecessor or successor found, start over
current_target_data_block = 255;
// disable the lights
for (uint8_t i = 0; i < LIGHTS_COUNT; i++)
{
light_state[i] = false;
bri[i] = 0;
current_bri[i] = 0;
current_pwm[i] = 0;
}
return;
}