1
0
mirror of https://github.com/FreeRTOS/FreeRTOS-Kernel.git synced 2025-10-19 19:43:00 +08: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:
Gaurav-Aggarwal-AWS
2024-11-13 13:31:41 +05:30
committed by GitHub
parent 8f7f451c2a
commit f239da06ec

View File

@@ -457,6 +457,12 @@ size_t xPortGetMinimumEverFreeHeapSize( void )
}
/*-----------------------------------------------------------*/
void xPortResetHeapMinimumEverFreeHeapSize( void )
{
xMinimumEverFreeBytesRemaining = xFreeBytesRemaining;
}
/*-----------------------------------------------------------*/
void * pvPortCalloc( size_t xNum,
size_t xSize )
{