mm/heap: Change nxsem_init to _SEM_INIT
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> Change-Id: I84ad710c3ebe92d31d6c8dc1ddf6b63c10494ce2
This commit is contained in:
parent
e4efa9dfa7
commit
10e3d28372
@ -85,7 +85,7 @@ void mm_seminitialize(FAR struct mm_heap_s *heap)
|
|||||||
* private data sets).
|
* private data sets).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
nxsem_init(&heap_impl->mm_semaphore, 0, 1);
|
_SEM_INIT(&heap_impl->mm_semaphore, 0, 1);
|
||||||
|
|
||||||
heap_impl->mm_holder = NO_HOLDER;
|
heap_impl->mm_holder = NO_HOLDER;
|
||||||
heap_impl->mm_counts_held = 0;
|
heap_impl->mm_counts_held = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user