Enable lua table for colorlcd, not just horus

This commit is contained in:
Peter Feerick
2021-11-25 11:18:33 +10:00
committed by Peter Feerick
parent 6e63d2874b
commit b3cbf73aa0
+2 -2
View File
@@ -28,7 +28,7 @@
*/
static const luaL_Reg loadedlibs[] = {
// {"_G", luaopen_base},
#if defined(PCBHORUS)
#if defined(COLORLCD)
{LUA_LOADLIBNAME, luaopen_package},
#endif
// {LUA_COLIBNAME, luaopen_coroutine},
@@ -53,7 +53,7 @@ const luaR_table lua_rotable[] =
{LUA_STRLIBNAME, strlib, NULL},
{LUA_MATHLIBNAME, mathlib, mathlib_vals},
{LUA_BITLIBNAME, bitlib, NULL},
#if defined(PCBHORUS)
#if defined(COLORLCD)
{LUA_TABLIBNAME, tab_funcs, NULL},
#endif
{NULL, NULL, NULL}