aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2018-05-26 19:56:07 +0200
committerJonathan Aillet <jonathan.aillet@iot.bzh>2018-05-28 12:48:25 +0000
commit0e30275f1d9e3ab867273efec64ae65589d3fdb4 (patch)
treee8fe3a869d21aff9578609f174f4ff6c6cdb5dcd
parent263731b04a7f41192e8ec62debcab3d28791eb7a (diff)
Increase lua script max message size
Increase lua script max message size to avoid app-controller warning messages when a lua print message is too long with 4a-softmixer. Change-Id: I3c2496ea3e5bd971b7682328f7a6227e36b6d706 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
-rw-r--r--ctl-lib/ctl-lua.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctl-lib/ctl-lua.c b/ctl-lib/ctl-lua.c
index 7008cc4..0123017 100644
--- a/ctl-lib/ctl-lua.c
+++ b/ctl-lib/ctl-lua.c
@@ -32,7 +32,7 @@
#include "ctl-config.h"
#define LUA_FIST_ARG 2 // when using luaL_newlib calllback receive libtable as 1st arg
-#define LUA_MSG_MAX_LENGTH 512
+#define LUA_MSG_MAX_LENGTH 2048
#define JSON_ERROR (json_object*)-1
static lua_State* luaState;