CLI fix
This commit is contained in:
@@ -336,10 +336,12 @@ int cliMemoryInfo(const char ** argv)
|
|||||||
serialPrint("\tused %d bytes", (int)(heap - (unsigned char *)&_end));
|
serialPrint("\tused %d bytes", (int)(heap - (unsigned char *)&_end));
|
||||||
serialPrint("\tfree %d bytes", (int)((unsigned char *)&_heap_end - heap));
|
serialPrint("\tfree %d bytes", (int)((unsigned char *)&_heap_end - heap));
|
||||||
|
|
||||||
|
#if defined(LUA)
|
||||||
serialPrint("\nLua:");
|
serialPrint("\nLua:");
|
||||||
serialPrint("\tScripts %d", luaGetMemUsed(lsScripts));
|
serialPrint("\tScripts %d", luaGetMemUsed(lsScripts));
|
||||||
#if defined(PCBHORUS)
|
#if defined(PCBHORUS)
|
||||||
serialPrint("\tWidgets %d", luaGetMemUsed(lsWidgets));
|
serialPrint("\tWidgets %d", luaGetMemUsed(lsWidgets));
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user