From e3136f317a7f7afd9b363f0b39cb6f0bac84cbfc Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Sat, 4 Mar 2023 00:48:41 -0800 Subject: [PATCH] guard for tests --- firmware/controllers/lua/lua.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/firmware/controllers/lua/lua.cpp b/firmware/controllers/lua/lua.cpp index e4811cb21b..7e3be53414 100644 --- a/firmware/controllers/lua/lua.cpp +++ b/firmware/controllers/lua/lua.cpp @@ -203,7 +203,9 @@ static bool loadScript(LuaHandle& ls, const char* scriptStr) { efiPrintf(TAG "script loaded successfully!"); +#if EFI_PROD_CODE printLuaMemoryInfo(); +#endif // EFI_PROD_CODE return true; }