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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 )
{ {