From c45a7d924b10d9cc69a48896f7a6c99ecbf56493 Mon Sep 17 00:00:00 2001 From: Aleksa Vučković Date: Mon, 30 May 2022 00:10:05 +0200 Subject: \small u \smallsize --- include/08.heap/heap29.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/08.heap/heap29.c') diff --git a/include/08.heap/heap29.c b/include/08.heap/heap29.c index d4d5941..22972f4 100644 --- a/include/08.heap/heap29.c +++ b/include/08.heap/heap29.c @@ -1,4 +1,4 @@ -void kfree(void *ptr) +void *kmalloc(uint32_t size) { - k_heapBMFree(&kheap,ptr); + return k_heapBMAlloc(&kheap,size); } -- cgit v1.2.3