提交 6da7ee12 编写于 作者: L liangyingjian 提交者: mysterywolf

[update]更正 RT_MEMHEAP_BSET_MODE -> RT_MEMHEAP_BEST_MODE 拼写错误。

上级 93bdf5ca
......@@ -324,7 +324,7 @@ menu "Memory Management"
Speed priority mode.
As long as the memory block size meets the requirements, the search ends immediately.
config RT_MEMHEAP_BSET_MODE
config RT_MEMHEAP_BEST_MODE
bool "best mode"
help
Best size first.
......
......@@ -690,7 +690,7 @@ void rt_memheap_free(void *ptr)
if (insert_header)
{
struct rt_memheap_item *n = heap->free_list->next_free;;
#if defined(RT_MEMHEAP_BSET_MODE)
#if defined(RT_MEMHEAP_BEST_MODE)
rt_size_t blk_size = MEMITEM_SIZE(header_ptr);
for (;n != heap->free_list; n = n->next_free)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册