mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Add xPortResetHeapMinimumEverFreeHeapSize to heap5 (#1191)
The same was added to heap 4 in this PR - https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/1189. Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
This commit is contained in:
parent
8f7f451c2a
commit
f239da06ec
|
@ -457,6 +457,12 @@ size_t xPortGetMinimumEverFreeHeapSize( void )
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
|
void xPortResetHeapMinimumEverFreeHeapSize( void )
|
||||||
|
{
|
||||||
|
xMinimumEverFreeBytesRemaining = xFreeBytesRemaining;
|
||||||
|
}
|
||||||
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
void * pvPortCalloc( size_t xNum,
|
void * pvPortCalloc( size_t xNum,
|
||||||
size_t xSize )
|
size_t xSize )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue