Skip to content

Commit

Permalink
Add xPortResetHeapMinimumEverFreeHeapSize to heap5 (#1191)
Browse files Browse the repository at this point in the history
The same was added to heap 4 in this PR - #1189.

Signed-off-by: Gaurav Aggarwal <[email protected]>
  • Loading branch information
aggarg authored Nov 13, 2024
1 parent 8f7f451 commit f239da0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions portable/MemMang/heap_5.c
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,12 @@ size_t xPortGetMinimumEverFreeHeapSize( void )
}
/*-----------------------------------------------------------*/

void xPortResetHeapMinimumEverFreeHeapSize( void )
{
xMinimumEverFreeBytesRemaining = xFreeBytesRemaining;
}
/*-----------------------------------------------------------*/

void * pvPortCalloc( size_t xNum,
size_t xSize )
{
Expand Down

0 comments on commit f239da0

Please sign in to comment.