Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FreeRTOS/FreeRTOS-Kernel.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralfred gedeon <28123637+alfred2g@users.noreply.github.com>2021-07-29 03:53:10 +0300
committerGitHub <noreply@github.com>2021-07-29 03:53:10 +0300
commitce81bcb33fe4d46d3a0ada6fb470f0a1e3e3687c (patch)
tree8fbb38ee98d4c656dba6a7944f52354c7b6d05df /queue.c
parent85a23127cca2fab7b4fd5ed43e2bd89c1e87614f (diff)
Run uncrustify with github workflows (#369)
* uncrustify with github workflows * Fix find expression * Add uncrustify configuration file * Uncrustify some files * uncrustify some more files * uncrustify more files * Fix whitespace at end of lines Co-authored-by: Cobus van Eeden <35851496+cobusve@users.noreply.github.com>
Diffstat (limited to 'queue.c')
-rw-r--r--queue.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/queue.c b/queue.c
index f5c2bf201..285e0fc11 100644
--- a/queue.c
+++ b/queue.c
@@ -314,6 +314,7 @@ BaseType_t xQueueGenericReset( QueueHandle_t xQueue,
vListInitialise( &( pxQueue->xTasksWaitingToSend ) );
vListInitialise( &( pxQueue->xTasksWaitingToReceive ) );
}
+
taskEXIT_CRITICAL();
}
else
@@ -345,12 +346,12 @@ BaseType_t xQueueGenericReset( QueueHandle_t xQueue,
if( ( uxQueueLength > ( UBaseType_t ) 0 ) &&
( pxStaticQueue != NULL ) &&
+
/* A queue storage area should be provided if the item size is not 0, and
* should not be provided if the item size is 0. */
( !( ( pucQueueStorage != NULL ) && ( uxItemSize == 0 ) ) ) &&
( !( ( pucQueueStorage == NULL ) && ( uxItemSize != 0 ) ) ) )
{
-
#if ( configASSERT_DEFINED == 1 )
{
/* Sanity check that the size of the structure used to declare a