Enable lua table for colorlcd, not just horus
This commit is contained in:
committed by
Peter Feerick
parent
6e63d2874b
commit
b3cbf73aa0
Vendored
+2
-2
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user