Skip to content

Commit 646881e

Browse files
authored
fix typo gab -> gap and adjust indentation level (#1097)
Signed-off-by: Florian La Roche <[email protected]>
1 parent 17dfd0f commit 646881e

File tree

14 files changed

+15
-15
lines changed

14 files changed

+15
-15
lines changed

portable/ARMv8M/secure/heap/secure_heap.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ static void prvInsertBlockIntoFreeList( BlockLink_t * pxBlockToInsert )
234234
pxBlockToInsert->pxNextFreeBlock = pxIterator->pxNextFreeBlock;
235235
}
236236

237-
/* If the block being inserted plugged a gab, so was merged with the block
237+
/* If the block being inserted plugged a gap, so was merged with the block
238238
* before and the block after, then it's pxNextFreeBlock pointer will have
239239
* already been set, and should not be set here as that would make it point
240240
* to itself. */

portable/GCC/ARM_CM23/secure/secure_heap.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ static void prvInsertBlockIntoFreeList( BlockLink_t * pxBlockToInsert )
234234
pxBlockToInsert->pxNextFreeBlock = pxIterator->pxNextFreeBlock;
235235
}
236236

237-
/* If the block being inserted plugged a gab, so was merged with the block
237+
/* If the block being inserted plugged a gap, so was merged with the block
238238
* before and the block after, then it's pxNextFreeBlock pointer will have
239239
* already been set, and should not be set here as that would make it point
240240
* to itself. */

portable/GCC/ARM_CM33/secure/secure_heap.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ static void prvInsertBlockIntoFreeList( BlockLink_t * pxBlockToInsert )
234234
pxBlockToInsert->pxNextFreeBlock = pxIterator->pxNextFreeBlock;
235235
}
236236

237-
/* If the block being inserted plugged a gab, so was merged with the block
237+
/* If the block being inserted plugged a gap, so was merged with the block
238238
* before and the block after, then it's pxNextFreeBlock pointer will have
239239
* already been set, and should not be set here as that would make it point
240240
* to itself. */

portable/GCC/ARM_CM35P/secure/secure_heap.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ static void prvInsertBlockIntoFreeList( BlockLink_t * pxBlockToInsert )
234234
pxBlockToInsert->pxNextFreeBlock = pxIterator->pxNextFreeBlock;
235235
}
236236

237-
/* If the block being inserted plugged a gab, so was merged with the block
237+
/* If the block being inserted plugged a gap, so was merged with the block
238238
* before and the block after, then it's pxNextFreeBlock pointer will have
239239
* already been set, and should not be set here as that would make it point
240240
* to itself. */

portable/GCC/ARM_CM55/secure/secure_heap.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ static void prvInsertBlockIntoFreeList( BlockLink_t * pxBlockToInsert )
234234
pxBlockToInsert->pxNextFreeBlock = pxIterator->pxNextFreeBlock;
235235
}
236236

237-
/* If the block being inserted plugged a gab, so was merged with the block
237+
/* If the block being inserted plugged a gap, so was merged with the block
238238
* before and the block after, then it's pxNextFreeBlock pointer will have
239239
* already been set, and should not be set here as that would make it point
240240
* to itself. */

portable/GCC/ARM_CM85/secure/secure_heap.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ static void prvInsertBlockIntoFreeList( BlockLink_t * pxBlockToInsert )
234234
pxBlockToInsert->pxNextFreeBlock = pxIterator->pxNextFreeBlock;
235235
}
236236

237-
/* If the block being inserted plugged a gab, so was merged with the block
237+
/* If the block being inserted plugged a gap, so was merged with the block
238238
* before and the block after, then it's pxNextFreeBlock pointer will have
239239
* already been set, and should not be set here as that would make it point
240240
* to itself. */

portable/IAR/ARM_CM23/secure/secure_heap.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ static void prvInsertBlockIntoFreeList( BlockLink_t * pxBlockToInsert )
234234
pxBlockToInsert->pxNextFreeBlock = pxIterator->pxNextFreeBlock;
235235
}
236236

237-
/* If the block being inserted plugged a gab, so was merged with the block
237+
/* If the block being inserted plugged a gap, so was merged with the block
238238
* before and the block after, then it's pxNextFreeBlock pointer will have
239239
* already been set, and should not be set here as that would make it point
240240
* to itself. */

portable/IAR/ARM_CM33/secure/secure_heap.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ static void prvInsertBlockIntoFreeList( BlockLink_t * pxBlockToInsert )
234234
pxBlockToInsert->pxNextFreeBlock = pxIterator->pxNextFreeBlock;
235235
}
236236

237-
/* If the block being inserted plugged a gab, so was merged with the block
237+
/* If the block being inserted plugged a gap, so was merged with the block
238238
* before and the block after, then it's pxNextFreeBlock pointer will have
239239
* already been set, and should not be set here as that would make it point
240240
* to itself. */

portable/IAR/ARM_CM35P/secure/secure_heap.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ static void prvInsertBlockIntoFreeList( BlockLink_t * pxBlockToInsert )
234234
pxBlockToInsert->pxNextFreeBlock = pxIterator->pxNextFreeBlock;
235235
}
236236

237-
/* If the block being inserted plugged a gab, so was merged with the block
237+
/* If the block being inserted plugged a gap, so was merged with the block
238238
* before and the block after, then it's pxNextFreeBlock pointer will have
239239
* already been set, and should not be set here as that would make it point
240240
* to itself. */

portable/IAR/ARM_CM55/secure/secure_heap.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ static void prvInsertBlockIntoFreeList( BlockLink_t * pxBlockToInsert )
234234
pxBlockToInsert->pxNextFreeBlock = pxIterator->pxNextFreeBlock;
235235
}
236236

237-
/* If the block being inserted plugged a gab, so was merged with the block
237+
/* If the block being inserted plugged a gap, so was merged with the block
238238
* before and the block after, then it's pxNextFreeBlock pointer will have
239239
* already been set, and should not be set here as that would make it point
240240
* to itself. */

portable/IAR/ARM_CM85/secure/secure_heap.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ static void prvInsertBlockIntoFreeList( BlockLink_t * pxBlockToInsert )
234234
pxBlockToInsert->pxNextFreeBlock = pxIterator->pxNextFreeBlock;
235235
}
236236

237-
/* If the block being inserted plugged a gab, so was merged with the block
237+
/* If the block being inserted plugged a gap, so was merged with the block
238238
* before and the block after, then it's pxNextFreeBlock pointer will have
239239
* already been set, and should not be set here as that would make it point
240240
* to itself. */

portable/MemMang/heap_1.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
#if ( configAPPLICATION_ALLOCATED_HEAP == 1 )
6666

6767
/* The application writer has already defined the array used for the RTOS
68-
* heap - probably so it can be placed in a special segment or address. */
68+
* heap - probably so it can be placed in a special segment or address. */
6969
extern uint8_t ucHeap[ configTOTAL_HEAP_SIZE ];
7070
#else
7171
static uint8_t ucHeap[ configTOTAL_HEAP_SIZE ];

portable/MemMang/heap_2.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
#if ( configAPPLICATION_ALLOCATED_HEAP == 1 )
8888

8989
/* The application writer has already defined the array used for the RTOS
90-
* heap - probably so it can be placed in a special segment or address. */
90+
* heap - probably so it can be placed in a special segment or address. */
9191
extern uint8_t ucHeap[ configTOTAL_HEAP_SIZE ];
9292
#else
9393
PRIVILEGED_DATA static uint8_t ucHeap[ configTOTAL_HEAP_SIZE ];

portable/MemMang/heap_4.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
#if ( configAPPLICATION_ALLOCATED_HEAP == 1 )
9090

9191
/* The application writer has already defined the array used for the RTOS
92-
* heap - probably so it can be placed in a special segment or address. */
92+
* heap - probably so it can be placed in a special segment or address. */
9393
extern uint8_t ucHeap[ configTOTAL_HEAP_SIZE ];
9494
#else
9595
PRIVILEGED_DATA static uint8_t ucHeap[ configTOTAL_HEAP_SIZE ];
@@ -548,7 +548,7 @@ static void prvInsertBlockIntoFreeList( BlockLink_t * pxBlockToInsert ) /* PRIVI
548548
pxBlockToInsert->pxNextFreeBlock = pxIterator->pxNextFreeBlock;
549549
}
550550

551-
/* If the block being inserted plugged a gab, so was merged with the block
551+
/* If the block being inserted plugged a gap, so was merged with the block
552552
* before and the block after, then it's pxNextFreeBlock pointer will have
553553
* already been set, and should not be set here as that would make it point
554554
* to itself. */

0 commit comments

Comments
 (0)