CLI fixes
This commit is contained in:
+2
-2
@@ -238,7 +238,7 @@ int cliTrace(const char ** argv)
|
|||||||
|
|
||||||
int cliStackInfo(const char ** argv)
|
int cliStackInfo(const char ** argv)
|
||||||
{
|
{
|
||||||
serialPrint("[MAIN] %d available / %d", stackAvailable(), stackSize());
|
serialPrint("[MAIN] %d available / %d", stackAvailable(), stackSize() * 4); // stackSize() returns size in 32bit chunks
|
||||||
serialPrint("[MENUS] %d available / %d", menusStack.available(), menusStack.size());
|
serialPrint("[MENUS] %d available / %d", menusStack.available(), menusStack.size());
|
||||||
serialPrint("[MIXER] %d available / %d", mixerStack.available(), mixerStack.size());
|
serialPrint("[MIXER] %d available / %d", mixerStack.available(), mixerStack.size());
|
||||||
serialPrint("[AUDIO] %d available / %d", audioStack.available(), audioStack.size());
|
serialPrint("[AUDIO] %d available / %d", audioStack.available(), audioStack.size());
|
||||||
@@ -553,7 +553,7 @@ const CliCommand cliCommands[] = {
|
|||||||
{ "readsd", cliReadSD, "<start sector> <sectors count> <read buffer size (sectors)>" },
|
{ "readsd", cliReadSD, "<start sector> <sectors count> <read buffer size (sectors)>" },
|
||||||
{ "play", cliPlay, "<filename>" },
|
{ "play", cliPlay, "<filename>" },
|
||||||
{ "print", cliDisplay, "<address> [<size>] | <what>" },
|
{ "print", cliDisplay, "<address> [<size>] | <what>" },
|
||||||
{ "reboot", cliReboot, "" },
|
{ "reboot", cliReboot, "[wdt]" },
|
||||||
{ "set", cliSet, "<what> <value>" },
|
{ "set", cliSet, "<what> <value>" },
|
||||||
{ "stackinfo", cliStackInfo, "" },
|
{ "stackinfo", cliStackInfo, "" },
|
||||||
{ "meminfo", cliMemoryInfo, "" },
|
{ "meminfo", cliMemoryInfo, "" },
|
||||||
|
|||||||
Reference in New Issue
Block a user