diff options
author | alfred gedeon <28123637+alfred2g@users.noreply.github.com> | 2021-07-29 03:53:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-29 03:53:10 +0300 |
commit | ce81bcb33fe4d46d3a0ada6fb470f0a1e3e3687c (patch) | |
tree | 8fbb38ee98d4c656dba6a7944f52354c7b6d05df /queue.c | |
parent | 85a23127cca2fab7b4fd5ed43e2bd89c1e87614f (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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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
|