1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-13 19:40:31 +03:00

Merge pull request #9998 from mikeller/fix_stack_check

Fixed stack size monitoring.
This commit is contained in:
Michael Keller 2020-07-22 02:12:58 +12:00 committed by GitHub
commit 899cae197c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 95 additions and 27 deletions

View file

@ -4700,7 +4700,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();