Typos.
authorbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 19 Apr 2010 22:53:42 +0000 (22:53 +0000)
committerbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 19 Apr 2010 22:53:42 +0000 (22:53 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3472 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/struct/heap.c

index 1faacf3c8a9078f60f0c4ab7611596bd51507262..4800f1b2048af44c87091ea2afbae58e85f4f812 100644 (file)
@@ -196,8 +196,8 @@ void heap_freemem(struct Heap* h, void *mem, size_t size)
 size_t heap_freeSpace(struct Heap *h)
 {
        size_t free_mem = 0;
-       for (MemChunck *chunk = h->FreeList; hunk; chunk = chunk->next)
-               free_mem += chunck->size;
+       for (MemChunk *chunk = h->FreeList; chunk; chunk = chunk->next)
+               free_mem += chunk->size;
 
        return free_mem;
 }