Skip to content
Snippets Groups Projects
Unverified Commit 4f16f1f1 authored by Cenk Gündoğan's avatar Cenk Gündoğan Committed by GitHub
Browse files

Merge pull request #9247 from jcarrano/fix-tlsf-ps-ifdef

sys/ps: Use correct define for TLSF information.
parents 9a0f3469 841c7195
Branches
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@
#include "xtimer.h"
#endif
#ifdef MODULE_TLSF
#ifdef MODULE_TLSF_MALLOC
#include "tlsf.h"
#include "tlsf-malloc.h"
#endif
......@@ -145,7 +145,7 @@ void ps(void)
#ifdef DEVELHELP
printf("\t%5s %-21s|%13s%6s %6i (%5i)\n", "|", "SUM", "|", "|",
overall_stacksz, overall_used);
# ifdef MODULE_TLSF
# ifdef MODULE_TLSF_MALLOC
puts("\nHeap usage:");
tlsf_walk_pool(tlsf_get_pool(_tlsf_get_global_control()), NULL, NULL);
# endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment