diff options
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); } |
