remove remnant from previous impl

This commit is contained in:
jane 2021-06-04 22:16:52 -04:00
parent d303d03d87
commit fb402d3709

View file

@ -97,7 +97,7 @@ function tick_pattern() {
// do the parsing stuff here // do the parsing stuff here
log.debug("TICKING PATTERN") log.debug("TICKING PATTERN")
if (Object.keys(pattern).length > 0) { if (pattern.length > 0) {
for (let i = 0; i < cfg.leds; i++) { for (let i = 0; i < cfg.leds; i++) {
for (let command of pattern) { for (let command of pattern) {
let name = command.command; let name = command.command;