diff options
| author | Aleksa Vučković <aleksav013@gmail.com> | 2022-05-30 09:13:24 +0200 |
|---|---|---|
| committer | Aleksa Vučković <aleksav013@gmail.com> | 2022-05-30 23:07:20 +0200 |
| commit | 602037ec658da6ab2f04f1c806bfccdcd8125f27 (patch) | |
| tree | 42041f5f31bde2f5eedd544a7da346b83db8f5f9 /src/c/heap.c | |
| parent | 37af80fa96b00ef9fb1abc1003db88ea1ed1a496 (diff) | |
idt now working on hardwarev1.0.1
Diffstat (limited to 'src/c/heap.c')
| -rw-r--r-- | src/c/heap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/c/heap.c b/src/c/heap.c index 3120ed8..954a220 100644 --- a/src/c/heap.c +++ b/src/c/heap.c @@ -129,6 +129,7 @@ void k_heapBMFree(KHEAPBM *heap, void *ptr) bi = ptroff / b->bsize; /* .. */ bm = (uint8_t*)&b[1]; + /* clear allocation */ id = bm[bi]; /* oddly.. GCC did not optimize this */ |
