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

This commit is contained in:
liangyingjian 2022-11-03 00:24:47 +08:00 committed by Man, Jianting (Meco)
parent 93bdf5ca08
commit 6da7ee128b
2 changed files with 2 additions and 2 deletions

View File

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

View File

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