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:
Vendored
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user