1
0
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:
Cenk Gündoğan 2018-05-30 15:11:24 +02:00 committed by GitHub
commit 4f16f1f1bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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