aboutsummaryrefslogtreecommitdiff
path: root/include/08.heap/heap16.c
blob: 206a5e0bb9d0df6f368603ef671fff28362a78b8 (plain)
1
2
3
4
5
                    /* we have enough, now allocate them */
                    if (y == bneed)
                    {
                        /* find ID that does not match left or right */
                        nid = k_heapBMGetNID(bm[x - 1], bm[x + y]);