1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-23 16:25:16 +03:00

Dramaticaly reduce spam on companion/simu 'debug' output

This commit is contained in:
3djc 2017-04-12 10:07:47 +02:00
parent 0a6518eb30
commit 39a631d31d

View file

@ -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);