This is an automated email from the ASF dual-hosted git repository. pkarashchenko pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit dfe583e1de4a2cb6bab8c742e1c8efbbbdbe3209 Author: Xiang Xiao <[email protected]> AuthorDate: Sun May 28 22:26:29 2023 +0800 Fix tlsf/mm_tlsf.c:151:28: error: ‘TCB_FLAG_HEAPDUMP’ undeclared Signed-off-by: Xiang Xiao <[email protected]> --- mm/tlsf/mm_tlsf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/tlsf/mm_tlsf.c b/mm/tlsf/mm_tlsf.c index 3a3b495db9..0fceb7ccee 100644 --- a/mm/tlsf/mm_tlsf.c +++ b/mm/tlsf/mm_tlsf.c @@ -149,7 +149,7 @@ static void memdump_backtrace(FAR struct mm_heap_s *heap, # if CONFIG_MM_BACKTRACE > 0 tcb = nxsched_get_tcb(buf->pid); if (heap->mm_procfs.backtrace || - (tcb && tcb->flags & TCB_FLAG_HEAPDUMP)) + (tcb && tcb->flags & TCB_FLAG_HEAP_DUMP)) { int ret = backtrace(buf->backtrace, CONFIG_MM_BACKTRACE); if (ret < CONFIG_MM_BACKTRACE)
