mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Merge pull request #9247 from jcarrano/fix-tlsf-ps-ifdef
sys/ps: Use correct define for TLSF information.
This commit is contained in:
commit
4f16f1f1bf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user