From b3cbf73aa0d5047ca821b865301991df95a53567 Mon Sep 17 00:00:00 2001 From: Peter Feerick Date: Wed, 24 Nov 2021 21:10:42 +1000 Subject: [PATCH] Enable lua `table` for colorlcd, not just horus --- radio/src/thirdparty/Lua/src/linit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radio/src/thirdparty/Lua/src/linit.c b/radio/src/thirdparty/Lua/src/linit.c index 4706a3ab7..14be891d1 100644 --- a/radio/src/thirdparty/Lua/src/linit.c +++ b/radio/src/thirdparty/Lua/src/linit.c @@ -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}