Fixed end of the timing data setup, all values will be set to zero.
This commit is contained in:
parent
eea9c75c21
commit
f935948402
1 changed files with 10 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue