mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
mm/heap: Change nxsem_init to _SEM_INIT
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> Change-Id: I84ad710c3ebe92d31d6c8dc1ddf6b63c10494ce2
This commit is contained in:
committed by
Abdelatif Guettouche
parent
e4efa9dfa7
commit
10e3d28372
+1
-1
@@ -85,7 +85,7 @@ void mm_seminitialize(FAR struct mm_heap_s *heap)
|
||||
* 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_counts_held = 0;
|
||||
|
||||
Reference in New Issue
Block a user