chores: update to LUA 5.3 (#4203)
Co-authored-by: Peter Feerick <peter.feerick@gmail.com> Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
This commit is contained in:
co-authored by
Peter Feerick
philmoz
parent
28b0cb9e71
commit
47cba2211f
@@ -21,8 +21,7 @@
|
||||
|
||||
#define LUA_LIB
|
||||
|
||||
#include <cstdio>
|
||||
|
||||
#include "edgetx.h"
|
||||
#include "lua_api.h"
|
||||
#include "api_filesystem.h"
|
||||
|
||||
@@ -83,6 +82,9 @@ int luaDir(lua_State* L)
|
||||
return 1;
|
||||
}
|
||||
|
||||
void luaPushDateTime(lua_State * L, uint32_t year, uint32_t mon, uint32_t day,
|
||||
uint32_t hour, uint32_t min, uint32_t sec);
|
||||
|
||||
/*luadoc
|
||||
@function fstat(path)
|
||||
|
||||
@@ -178,7 +180,7 @@ int luaDelete(lua_State* L)
|
||||
TRACE("luaDelete cannot delete file/folder %s", filename);
|
||||
}
|
||||
|
||||
lua_pushunsigned(L, res);
|
||||
lua_pushinteger(L, res);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user