fix(Lua): Enable 'package' Lua library (#3786)

* Enable 'package' and 'string' Lua libraries.

* Change 'package' library to only load for color LCD radios.
Exclude 'string' library to match 2.8 functionality.
This commit is contained in:
philmoz
2023-07-10 19:42:12 +10:00
committed by GitHub
parent 35466ecf0b
commit 2dd76d0964
+1 -1
View File
@@ -109,7 +109,7 @@ LROT_BEGIN(lua_libs, NULL, 0)
LROT_FUNCENTRY( io, luaopen_io )
LROT_FUNCENTRY( dir, luaopen_etxdir )
LROT_FUNCENTRY( bitmap_mt, luaopen_bitmap )
#if defined(LUA_ENABLE_LOADLIB)
#if defined(COLORLCD)
LROT_FUNCENTRY( package, luaopen_package )
#endif
#if defined(LUA_ENABLE_STRLIB_MT)