mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 19:40:31 +03:00
Fixed stack size monitoring.
This commit is contained in:
parent
f6b1c6a539
commit
81abf873da
14 changed files with 95 additions and 27 deletions
|
@ -4699,7 +4699,7 @@ static void cliStatus(const char *cmdName, char *cmdline)
|
|||
// Stack and config sizes and usages
|
||||
|
||||
cliPrintf("Stack size: %d, Stack address: 0x%x", stackTotalSize(), stackHighMem());
|
||||
#ifdef STACK_CHECK
|
||||
#ifdef USE_STACK_CHECK
|
||||
cliPrintf(", Stack used: %d", stackUsedSize());
|
||||
#endif
|
||||
cliPrintLinefeed();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue