reset targets
This commit is contained in:
parent
2a605f9488
commit
6df19467fb
1 changed files with 1 additions and 0 deletions
|
@ -71,6 +71,7 @@ function tick_pattern() {
|
||||||
|
|
||||||
log.debug(`next: ${targets["r"]}, ${targets["g"]}, ${targets["b"]}`);
|
log.debug(`next: ${targets["r"]}, ${targets["g"]}, ${targets["b"]}`);
|
||||||
next_pattern[i] = rgb_to_int(targets["r"] || 0, targets["g"] || 0, targets["b"] || 0);
|
next_pattern[i] = rgb_to_int(targets["r"] || 0, targets["g"] || 0, targets["b"] || 0);
|
||||||
|
targets["r"] = 0; targets["g"] = 0; targets["b"] = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in a new issue