diff --git a/portable/MemMang/heap_2.c b/portable/MemMang/heap_2.c index bdf05c62d..1240a6b53 100644 --- a/portable/MemMang/heap_2.c +++ b/portable/MemMang/heap_2.c @@ -125,7 +125,7 @@ void * pvPortMalloc( size_t xWantedSize ) vTaskSuspendAll(); { /* If this is the first call to malloc then the heap will require - * initialisation to setup the list of free blocks. */ + * initialisation to setup the list of free blocks. */ if( xHeapHasBeenInitialised == pdFALSE ) { prvHeapInit(); @@ -133,7 +133,7 @@ void * pvPortMalloc( size_t xWantedSize ) } /* The wanted size must be increased so it can contain a BlockLink_t - * structure in addition to the requested amount of bytes. */ + * structure in addition to the requested amount of bytes. */ if( xWantedSize > 0 ) { /* Ensure xWantedSize will never wrap after adjustment, even if we need diff --git a/portable/MemMang/heap_4.c b/portable/MemMang/heap_4.c index dea300104..8bdedf767 100644 --- a/portable/MemMang/heap_4.c +++ b/portable/MemMang/heap_4.c @@ -146,7 +146,7 @@ void * pvPortMalloc( size_t xWantedSize ) xWantedSize += xHeapStructSize; /* Ensure that blocks are always aligned to the required number - * of bytes. */ + * of bytes. */ if( ( xWantedSize & portBYTE_ALIGNMENT_MASK ) != 0x00 ) { /* Byte alignment required. (check for overflow again) */ @@ -179,7 +179,7 @@ void * pvPortMalloc( size_t xWantedSize ) if( ( xWantedSize > 0 ) && ( xWantedSize < xFreeBytesRemaining ) ) { /* Traverse the list from the start (lowest address) block until - * one of adequate size is found. */ + * one of adequate size is found. */ pxPreviousBlock = &xStart; pxBlock = xStart.pxNextFreeBlock; @@ -190,7 +190,7 @@ void * pvPortMalloc( size_t xWantedSize ) } /* If the end marker was reached then a block of adequate size - * was not found. */ + * was not found. */ if( pxBlock != pxEnd ) { /* Return the memory space pointed to - jumping over the diff --git a/portable/MemMang/heap_5.c b/portable/MemMang/heap_5.c index 848a1516b..4953237f0 100644 --- a/portable/MemMang/heap_5.c +++ b/portable/MemMang/heap_5.c @@ -182,7 +182,7 @@ void * pvPortMalloc( size_t xWantedSize ) if( ( xWantedSize > 0 ) && ( xWantedSize < xFreeBytesRemaining ) ) { /* Traverse the list from the start (lowest address) block until - * one of adequate size is found. */ + * one of adequate size is found. */ pxPreviousBlock = &xStart; pxBlock = xStart.pxNextFreeBlock; @@ -193,7 +193,7 @@ void * pvPortMalloc( size_t xWantedSize ) } /* If the end marker was reached then a block of adequate size - * was not found. */ + * was not found. */ if( pxBlock != pxEnd ) { /* Return the memory space pointed to - jumping over the