Skip to content

Commit d16c2d7

Browse files
committed
Run uncrustify on queue.c to fix minor typos
1 parent b695c81 commit d16c2d7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

queue.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ BaseType_t xQueueGenericReset( QueueHandle_t xQueue,
345345

346346
/* This assertion cannot be branch covered in unit tests */
347347
configASSERT( xSize == sizeof( Queue_t ) ); /* LCOV_EXCL_BR_LINE */
348-
( void ) xSize; /* Keeps lint quiet when configASSERT() is not defined. */
348+
( void ) xSize; /* Keeps lint quiet when configASSERT() is not defined. */
349349
}
350350
#endif /* configASSERT_DEFINED */
351351

@@ -400,7 +400,7 @@ BaseType_t xQueueGenericReset( QueueHandle_t xQueue,
400400
configASSERT( ( uxItemSize == 0 ) || ( uxQueueLength == ( xQueueSizeInBytes / uxItemSize ) ) );
401401

402402
/* Check for addition overflow. */
403-
configASSERT( ( sizeof( Queue_t ) + xQueueSizeInBytes ) > xQueueSizeInBytes );
403+
configASSERT( ( sizeof( Queue_t ) + xQueueSizeInBytes ) > xQueueSizeInBytes );
404404

405405
/* Allocate the queue and storage area. Justification for MISRA
406406
* deviation as follows: pvPortMalloc() always ensures returned memory
@@ -2748,6 +2748,7 @@ BaseType_t xQueueIsQueueFullFromISR( const QueueHandle_t xQueue )
27482748
mtCOVERAGE_TEST_MARKER();
27492749
}
27502750
}
2751+
27512752
/* Assert that the queue was added successfully */
27522753
configASSERT( ( ux != configQUEUE_REGISTRY_SIZE ) );
27532754
}

0 commit comments

Comments
 (0)