From e6ac41f5ba5fe5b7399bd237de0a53c1539eaede Mon Sep 17 00:00:00 2001 From: Andrey Date: Sun, 22 Aug 2021 01:41:54 -0400 Subject: [PATCH] my first Lua --- firmware/controllers/lua/lua_hooks.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/controllers/lua/lua_hooks.cpp b/firmware/controllers/lua/lua_hooks.cpp index 8284e7f545..0d13973719 100644 --- a/firmware/controllers/lua/lua_hooks.cpp +++ b/firmware/controllers/lua/lua_hooks.cpp @@ -22,7 +22,7 @@ static int lua_efi_print(lua_State* l) { static int lua_readpin(lua_State* l) { auto msg = luaL_checkstring(l, 1); -#if ! EFI_UNIT_TEST +#if EFI_PROD_CODE readPin(msg); #endif return 0;