File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -345,7 +345,7 @@ BaseType_t xQueueGenericReset( QueueHandle_t xQueue,
345
345
346
346
/* This assertion cannot be branch covered in unit tests */
347
347
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. */
349
349
}
350
350
#endif /* configASSERT_DEFINED */
351
351
@@ -400,7 +400,7 @@ BaseType_t xQueueGenericReset( QueueHandle_t xQueue,
400
400
configASSERT ( ( uxItemSize == 0 ) || ( uxQueueLength == ( xQueueSizeInBytes / uxItemSize ) ) );
401
401
402
402
/* Check for addition overflow. */
403
- configASSERT ( ( sizeof ( Queue_t ) + xQueueSizeInBytes ) > xQueueSizeInBytes );
403
+ configASSERT ( ( sizeof ( Queue_t ) + xQueueSizeInBytes ) > xQueueSizeInBytes );
404
404
405
405
/* Allocate the queue and storage area. Justification for MISRA
406
406
* deviation as follows: pvPortMalloc() always ensures returned memory
@@ -2748,6 +2748,7 @@ BaseType_t xQueueIsQueueFullFromISR( const QueueHandle_t xQueue )
2748
2748
mtCOVERAGE_TEST_MARKER ();
2749
2749
}
2750
2750
}
2751
+
2751
2752
/* Assert that the queue was added successfully */
2752
2753
configASSERT ( ( ux != configQUEUE_REGISTRY_SIZE ) );
2753
2754
}
You can’t perform that action at this time.
0 commit comments