add more logs
This commit is contained in:
parent
724e334c26
commit
a670cdc253
1 changed files with 2 additions and 1 deletions
|
@ -98,6 +98,7 @@ function tick_pattern() {
|
|||
log.debug("TICKING PATTERN")
|
||||
|
||||
let parsed = pattern.parsed;
|
||||
log.info(`${JSON.stringify(pattern})} ${JSON.stringify(parsed)}`);
|
||||
|
||||
if (parsed && parsed.length > 0) {
|
||||
for (let i = 0; i < cfg.leds; i++) {
|
||||
|
@ -116,7 +117,7 @@ function tick_pattern() {
|
|||
}
|
||||
else {
|
||||
let result = functions[name].func(i, command.arg1, command.arg2);
|
||||
log.info("no convert " + result);
|
||||
log.info("no convert " + result);
|
||||
targets[command.arg1] = result;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue