From d6521492b7d951f2a75aaed8e8805d6fd05806f9 Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Sat, 4 Mar 2023 00:48:41 -0800 Subject: [PATCH] guard for tests (cherry picked from commit e3136f317a7f7afd9b363f0b39cb6f0bac84cbfc) --- 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 0b7ed0a984..2c25e06222 100644 --- a/firmware/controllers/lua/lua.cpp +++ b/firmware/controllers/lua/lua.cpp @@ -212,7 +212,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; }