From 2d8af52f104df99da4e64987081c7d4d08ac278a Mon Sep 17 00:00:00 2001 From: batt Date: Wed, 27 Aug 2008 17:17:23 +0000 Subject: [PATCH] Update to new macro name. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1738 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/struct/heap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bertos/struct/heap.c b/bertos/struct/heap.c index b4380a4d..2375c1f1 100644 --- a/bertos/struct/heap.c +++ b/bertos/struct/heap.c @@ -73,7 +73,7 @@ void *heap_allocmem(struct Heap* h, size_t size) MemChunk *chunk, *prev; /* Round size up to the allocation granularity */ - size = ROUND2(size, sizeof(MemChunk)); + size = ROUND_UP2(size, sizeof(MemChunk)); /* Handle allocations of 0 bytes */ if (!size) @@ -123,7 +123,7 @@ void heap_freemem(struct Heap* h, void *mem, size_t size) #endif /* Round size up to the allocation granularity */ - size = ROUND2(size, sizeof(MemChunk)); + size = ROUND_UP2(size, sizeof(MemChunk)); /* Handle allocations of 0 bytes */ if (!size) -- 2.25.1