From 39a631d31d5da54fd67a6c3739afb9ba44748134 Mon Sep 17 00:00:00 2001 From: 3djc Date: Wed, 12 Apr 2017 10:07:47 +0200 Subject: [PATCH] Dramaticaly reduce spam on companion/simu 'debug' output --- radio/src/lua/interface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/src/lua/interface.cpp b/radio/src/lua/interface.cpp index c4fcde2f4..c013702db 100644 --- a/radio/src/lua/interface.cpp +++ b/radio/src/lua/interface.cpp @@ -204,7 +204,7 @@ void luaDoGc(lua_State * L, bool full) else { lua_gc(L, LUA_GCSTEP, 10); } -#if defined(SIMU) || defined(DEBUG) +#if defined(DEBUG) if (L == lsScripts) { static uint32_t lastgcSctipts = 0; uint32_t gc = luaGetMemUsed(L);