mirror of
https://github.com/opentx/opentx.git
synced 2025-07-17 13:25:20 +03:00
CLI fix
This commit is contained in:
parent
119f3ef88c
commit
300b8ece4e
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue