Debug message on wrong parameter count added

This commit is contained in:
Ollo 2021-03-18 21:55:26 +01:00
parent feaddece6e
commit a7bec14521

View File

@ -123,6 +123,7 @@ public class ESP8266Ws2812 extends TwoArgFunction {
return LuaValue.valueOf(true); return LuaValue.valueOf(true);
} else { } else {
System.err.println("[WS2812] fill with " + varargs.narg() + " arguments undefined.");
return LuaValue.NIL; return LuaValue.NIL;
} }
} }