remove remnant from previous impl

This commit is contained in:
jane 2021-06-04 22:16:52 -04:00
parent d303d03d87
commit fb402d3709
1 changed files with 1 additions and 1 deletions

View File

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