提交 cf692a4a 编写于 作者: G Grissiom

msh: use list_memheap when RT_USING_MEMHEAP_AS_HEAP is enabled

There is no list_mem and only list_memheap when RT_USING_MEMHEAP_AS_HEAP
is enabled.
上级 c26b9993
......@@ -281,7 +281,11 @@ int cmd_free(int argc, char** argv)
{
extern void list_mem(void);
#ifdef RT_USING_MEMHEAP_AS_HEAP
list_memheap();
#else
list_mem();
#endif
return 0;
}
FINSH_FUNCTION_EXPORT_ALIAS(cmd_free, __cmd_free, Show the memory usage in the system.);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册