diff options
author | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-05-26 19:56:07 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-12-13 15:02:55 +0100 |
commit | 4ea30343c03ecce8cf2778afc4393dd700122ea5 (patch) | |
tree | e8fe3a869d21aff9578609f174f4ff6c6cdb5dcd | |
parent | c274ba569a2e500b5eb2c61af5b640cc90be4a93 (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; |