small changes

This commit is contained in:
2026-02-25 09:56:20 +01:00
parent b78b4bc2cb
commit 4316cc57d3
2 changed files with 2 additions and 3 deletions

View File

@@ -117,8 +117,7 @@ static void luaArch_nnToLua(luaArch *arch, lua_State *L, size_t nnIdx) {
}
static int luaArch_computer_freeMemory(lua_State *L) {
size_t freeMem = luaArch_from(L)->freeMem;
lua_pushinteger(L, freeMem);
lua_pushinteger(L, nn_getFreeMemory(luaArch_from(L)->computer));
return 1;
}