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:
Raphael Coeffic
2024-12-24 12:45:06 +10:00
committed by GitHub
co-authored by Peter Feerick philmoz
parent 28b0cb9e71
commit 47cba2211f
87 changed files with 9660 additions and 6926 deletions
+8 -6
View File
@@ -73,6 +73,10 @@
#include <malloc.h>
#endif
#if defined(LUA)
#include "lua/lua_states.h"
#endif
RadioData g_eeGeneral;
ModelData g_model;
@@ -1085,10 +1089,6 @@ void edgeTxClose(uint8_t shutdown)
#endif
}
#if defined(LUA)
luaClose(&lsScripts);
#endif
logsClose();
storageFlushCurrentModel();
@@ -1112,11 +1112,13 @@ void edgeTxClose(uint8_t shutdown)
MainWindow::instance()->shutdown();
#if defined(LUA)
luaUnregisterWidgets();
luaClose(&lsWidgets);
lsWidgets = 0;
#endif
#endif
#if defined(LUA)
luaClose();
#endif
sdDone();
}