Skip to content

Commit

Permalink
fix(Lua): Enable 'package' Lua library (#3786)
Browse files Browse the repository at this point in the history
* Enable 'package' and 'string' Lua libraries.

* Change 'package' library to only load for color LCD radios.
Exclude 'string' library to match 2.8 functionality.
  • Loading branch information
philmoz authored Jul 10, 2023
1 parent 35466ec commit 2dd76d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radio/src/thirdparty/Lua/src/linit.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2dd76d0

Please sign in to comment.