This commit is contained in:
Damjan Adamic
2016-12-04 18:30:54 +01:00
parent 119f3ef88c
commit 300b8ece4e
+2
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;
}