diff --git a/avr/modules/heap/main.asm b/avr/modules/heap/main.asm index a3938ac..3dfb7c6 100644 --- a/avr/modules/heap/main.asm +++ b/avr/modules/heap/main.asm @@ -244,10 +244,10 @@ Heap_Free: st X+, r24 ; write chunk footer st X+, r25 ; X points to the next chunk header now rcall heapAdjustStatsFree ; update stats (r16, r17) - rcall heapCoalecseUp ; try to coalecse following chunk with this (r16, r17, r24, r25, X) +; rcall heapCoalecseUp ; try to coalecse following chunk with this (r16, r17, r24, r25, X) pop xh pop xl - rcall heapCoalecseUp ; try to coalesce this chunk with predecessor (r16, r17, r24, r25, X) +; rcall heapCoalecseUp ; try to coalesce this chunk with predecessor (r16, r17, r24, r25, X) rjmp Heap_Free_ret Heap_Free_dblFree: lds r24, heapDblFree