- lua: add RC_timeout to keyname table; set lua api version to 1.57

This commit is contained in:
svenhoefer
2016-09-06 01:11:16 +02:00
parent 0fa4486077
commit 84dfce8018
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -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 }