Debug message on wrong parameter count added
This commit is contained in:
parent
feaddece6e
commit
a7bec14521
@ -123,6 +123,7 @@ public class ESP8266Ws2812 extends TwoArgFunction {
|
||||
|
||||
return LuaValue.valueOf(true);
|
||||
} else {
|
||||
System.err.println("[WS2812] fill with " + varargs.narg() + " arguments undefined.");
|
||||
return LuaValue.NIL;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user