diff options
| author | Aleksa Vučković <aleksav013@gmail.com> | 2022-05-30 00:10:05 +0200 |
|---|---|---|
| committer | Aleksa Vučković <aleksav013@gmail.com> | 2022-05-30 10:22:10 +0200 |
| commit | c45a7d924b10d9cc69a48896f7a6c99ecbf56493 (patch) | |
| tree | 0fd94d340c8b9bb909b048b1ba33eea69c602464 /include/08.heap/heap29.c | |
| parent | fe14916f60fe94db918a238d5d26ce2b0ed70e7e (diff) | |
Diffstat (limited to 'include/08.heap/heap29.c')
| -rw-r--r-- | include/08.heap/heap29.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |
