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
|
|
@ -41,14 +41,14 @@ BaseType_t xPrepareCurrentTCB( void );
|
|||
*/
|
||||
void harness()
|
||||
{
|
||||
UBaseType_t xTasksPrepared;
|
||||
TimeOut_t pxTimeOut;
|
||||
TickType_t pxTicksToWait;
|
||||
UBaseType_t xTasksPrepared;
|
||||
TimeOut_t pxTimeOut;
|
||||
TickType_t pxTicksToWait;
|
||||
|
||||
xTasksPrepared = xPrepareCurrentTCB();
|
||||
xTasksPrepared = xPrepareCurrentTCB();
|
||||
|
||||
if ( xTasksPrepared != pdFAIL )
|
||||
{
|
||||
xTaskCheckForTimeOut( &pxTimeOut, &pxTicksToWait );
|
||||
}
|
||||
if( xTasksPrepared != pdFAIL )
|
||||
{
|
||||
xTaskCheckForTimeOut( &pxTimeOut, &pxTicksToWait );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -33,9 +33,9 @@
|
|||
*/
|
||||
TaskHandle_t xUnconstrainedTCB( void )
|
||||
{
|
||||
TCB_t * pxTCB = pvPortMalloc( sizeof( TCB_t ) );
|
||||
TCB_t * pxTCB = pvPortMalloc( sizeof( TCB_t ) );
|
||||
|
||||
return pxTCB;
|
||||
return pxTCB;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
@ -43,9 +43,9 @@ TaskHandle_t xUnconstrainedTCB( void )
|
|||
*/
|
||||
BaseType_t xPrepareCurrentTCB( void )
|
||||
{
|
||||
__CPROVER_assert_zero_allocation();
|
||||
__CPROVER_assert_zero_allocation();
|
||||
|
||||
pxCurrentTCB = xUnconstrainedTCB();
|
||||
pxCurrentTCB = xUnconstrainedTCB();
|
||||
|
||||
return pxCurrentTCB == NULL ? pdFAIL : pdPASS;
|
||||
return pxCurrentTCB == NULL ? pdFAIL : pdPASS;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue