@@ -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
@@ -948,15 +948,15 @@ BaseType_t xQueueGenericSend( QueueHandle_t xQueue,
948
948
vTaskPlaceOnEventList ( & ( pxQueue -> xTasksWaitingToSend ), xTicksToWait );
949
949
950
950
/* Unlocking the queue means queue events can effect the
951
- * event list. It is possible that interrupts occurring now
951
+ * event list. It is possible that interrupts occurring now
952
952
* remove this task from the event list again - but as the
953
953
* scheduler is suspended the task will go onto the pending
954
- * ready last instead of the actual ready list. */
954
+ * ready list instead of the actual ready list. */
955
955
prvUnlockQueue ( pxQueue );
956
956
957
957
/* Resuming the scheduler will move tasks from the pending
958
958
* ready list into the ready list - so it is feasible that this
959
- * task is already in a ready list before it yields - in which
959
+ * task is already in the ready list before it yields - in which
960
960
* case the yield will not cause a context switch unless there
961
961
* is also a higher priority task in the pending ready list. */
962
962
if ( xTaskResumeAll () == pdFALSE )
@@ -1778,7 +1778,7 @@ BaseType_t xQueuePeek( QueueHandle_t xQueue,
1778
1778
taskEXIT_CRITICAL ();
1779
1779
1780
1780
/* Interrupts and other tasks can send to and receive from the queue
1781
- * now the critical section has been exited. */
1781
+ * now that the critical section has been exited. */
1782
1782
1783
1783
vTaskSuspendAll ();
1784
1784
prvLockQueue ( pxQueue );
@@ -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
}
0 commit comments