File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -572,7 +572,7 @@ static void prvInsertBlockIntoFreeList( BlockLink_t * pxBlockToInsert ) /* PRIVI
572572void vPortGetHeapStats ( HeapStats_t * pxHeapStats )
573573{
574574 BlockLink_t * pxBlock ;
575- size_t xBlocks = 0 , xMaxSize = 0 , xMinSize = portMAX_DELAY ; /* portMAX_DELAY used as a portable way of getting the maximum value. */
575+ size_t xBlocks = 0 , xMaxSize = 0 , xMinSize = SIZE_MAX ;
576576
577577 vTaskSuspendAll ();
578578 {
Original file line number Diff line number Diff line change @@ -672,7 +672,7 @@ void vPortDefineHeapRegions( const HeapRegion_t * const pxHeapRegions ) /* PRIVI
672672void vPortGetHeapStats ( HeapStats_t * pxHeapStats )
673673{
674674 BlockLink_t * pxBlock ;
675- size_t xBlocks = 0 , xMaxSize = 0 , xMinSize = portMAX_DELAY ; /* portMAX_DELAY used as a portable way of getting the maximum value. */
675+ size_t xBlocks = 0 , xMaxSize = 0 , xMinSize = SIZE_MAX ;
676676
677677 vTaskSuspendAll ();
678678 {
You can’t perform that action at this time.
0 commit comments