diff --git a/src/gui/lua/lua_api_version.h b/src/gui/lua/lua_api_version.h index b5e974561..86e7fdc8a 100644 --- a/src/gui/lua/lua_api_version.h +++ b/src/gui/lua/lua_api_version.h @@ -4,4 +4,4 @@ * to luainstance.h changes */ #define LUA_API_VERSION_MAJOR 1 -#define LUA_API_VERSION_MINOR 56 +#define LUA_API_VERSION_MINOR 57 diff --git a/src/gui/lua/luainstance.cpp b/src/gui/lua/luainstance.cpp index a21cac683..203ef7d95 100644 --- a/src/gui/lua/luainstance.cpp +++ b/src/gui/lua/luainstance.cpp @@ -151,6 +151,7 @@ static void set_lua_variables(lua_State *L) { "prog3", CRCInput::RC_prog3 }, { "prog4", CRCInput::RC_prog4 }, #endif + { "timeout", (lua_Integer)CRCInput::RC_timeout }, /* to check if it is in our range */ { "MaxRC", CRCInput::RC_MaxRC }, { NULL, 0 }