mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-07 13:45:00 -05:00
Made a review
My implementation is now compiling and running. I've made a test with the WIN32-MSVC demo.
This commit is contained in:
parent
0a61cf54e7
commit
e473cf6caa
10 changed files with 66 additions and 85 deletions
|
|
@ -10,7 +10,7 @@
|
|||
// Using
|
||||
//=======
|
||||
|
||||
#include "heap_private.h"
|
||||
#include "block_map.h"
|
||||
#include "parent_group.h"
|
||||
|
||||
|
||||
|
|
@ -37,6 +37,8 @@ return block_map_parent_group_get_item((block_map_parent_group_t*)group, size);
|
|||
|
||||
size_t block_map_group_get_last_size(block_map_group_t* group)
|
||||
{
|
||||
if(group==NULL)
|
||||
return 0;
|
||||
if(cluster_group_get_level(group)==0)
|
||||
return block_map_item_group_get_last_size((block_map_item_group_t*)group);
|
||||
return ((block_map_parent_group_t*)group)->last_size;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue