reset targets

This commit is contained in:
jane 2021-05-26 20:15:57 -04:00
parent 2a605f9488
commit 6df19467fb

View file

@ -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 {