diff options
author | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-05-26 19:56:07 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-06-29 19:38:23 +0200 |
commit | f4b14199af894f5c3c9769183ea4b22ab24e3eab (patch) | |
tree | 13f0d18973aa439b6e07f4f2afd9e4930f89e606 | |
parent | 33edd589200665712772e8cd483b25ed104ed005 (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.c | 2 |
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; |