mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-23 11:09:28 -05:00
Add uncrustify github workflow (#659)
* Add uncrustify github workflow * Fix exclusion pattern * fix find expression * exclude uncrustify files * Uncrustify common demo and test files * exlude white space checking files * Fix EOL whitespace checker * Remove whitespaces from EOL * Fix space at EOL * Fix find spaces at EOL Co-authored-by: Archit Aggarwal <architag@amazon.com>
This commit is contained in:
parent
dd80d615b5
commit
ae92d8c6ee
191 changed files with 17540 additions and 17102 deletions
|
|
@ -40,10 +40,10 @@ void vPrepareTask( TaskHandle_t * xTask );
|
|||
*/
|
||||
void harness()
|
||||
{
|
||||
TaskHandle_t xTask;
|
||||
UBaseType_t uxTaskNumber;
|
||||
TaskHandle_t xTask;
|
||||
UBaseType_t uxTaskNumber;
|
||||
|
||||
vPrepareTask( &xTask );
|
||||
vPrepareTask( &xTask );
|
||||
|
||||
uxTaskNumber = uxTaskGetTaskNumber( xTask );
|
||||
uxTaskNumber = uxTaskGetTaskNumber( xTask );
|
||||
}
|
||||
|
|
|
|||
|
|
@ -33,12 +33,14 @@
|
|||
*/
|
||||
TaskHandle_t xUnconstrainedTCB( void )
|
||||
{
|
||||
TCB_t * pxTCB = pvPortMalloc(sizeof(TCB_t));
|
||||
TCB_t * pxTCB = pvPortMalloc( sizeof( TCB_t ) );
|
||||
|
||||
if ( pxTCB == NULL )
|
||||
return NULL;
|
||||
if( pxTCB == NULL )
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return pxTCB;
|
||||
return pxTCB;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
@ -47,7 +49,7 @@ TaskHandle_t xUnconstrainedTCB( void )
|
|||
*/
|
||||
void vPrepareTask( TaskHandle_t * xTask )
|
||||
{
|
||||
__CPROVER_assert_zero_allocation();
|
||||
__CPROVER_assert_zero_allocation();
|
||||
|
||||
*xTask = xUnconstrainedTCB();
|
||||
*xTask = xUnconstrainedTCB();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue