Skip to content

Commit

Permalink
Add xPortResetHeapMinimumEverFreeHeapSize to heap5
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 committed Nov 12, 2024
1 parent 9736947 commit 39b5545
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 39b5545

Please sign in to comment.