Add traceMALLOC() and traceFREE() macros.

This commit is contained in:
Richard Barry 2013-10-04 20:56:45 +00:00
parent 23fa077241
commit 7ec4773131
4 changed files with 11 additions and 1 deletions

View file

@ -122,7 +122,9 @@ static unsigned char *pucAlignedHeap = NULL;
pvReturn = pucAlignedHeap + xNextFreeByte;
xNextFreeByte += xWantedSize;
}
}
traceMALLOC( pvReturn, xWantedSize );
}
xTaskResumeAll();
#if( configUSE_MALLOC_FAILED_HOOK == 1 )