1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-17 13:25:20 +03:00
This commit is contained in:
Damjan Adamic 2016-12-04 18:30:54 +01:00
parent 119f3ef88c
commit 300b8ece4e

View file

@ -336,10 +336,12 @@ int cliMemoryInfo(const char ** argv)
serialPrint("\tused %d bytes", (int)(heap - (unsigned char *)&_end));
serialPrint("\tfree %d bytes", (int)((unsigned char *)&_heap_end - heap));
#if defined(LUA)
serialPrint("\nLua:");
serialPrint("\tScripts %d", luaGetMemUsed(lsScripts));
#if defined(PCBHORUS)
serialPrint("\tWidgets %d", luaGetMemUsed(lsWidgets));
#endif
#endif
return 0;
}