Uncrustify: triggered by comment.

This commit is contained in:
GitHub Action 2023-09-26 21:10:15 +00:00
parent c74fcc1f89
commit fc23c5194b
3 changed files with 260 additions and 268 deletions

View file

@ -1,5 +1,5 @@
/* TODO: Replace the copyright and license with YOUR copyright and license */
/*
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
@ -50,7 +50,7 @@ StackType_t * pxPortInitialiseStack( StackType_t * pxTopOfStack,
void vPortYield( void )
{
/* Save the current Context */
/* Save the current Context */
/* Switch to the highest priority task that is ready to run. */
vTaskSwitchContext();
/* Start executing the task we have just switched to. */

View file

@ -12,17 +12,17 @@
*/
/* Type definitions. */
#define portCHAR char
#define portFLOAT float
#define portDOUBLE double
#define portLONG long
#define portSHORT int
#define portSTACK_TYPE uint8_t
#define portBASE_TYPE char
#define portCHAR char
#define portFLOAT float
#define portDOUBLE double
#define portLONG long
#define portSHORT int
#define portSTACK_TYPE uint8_t
#define portBASE_TYPE char
#define portSTACK_GROWTH ( -1 )
#define portBYTE_ALIGNMENT 4
#define portPOINTER_SIZE_TYPE size_t
#define portSTACK_GROWTH ( -1 )
#define portBYTE_ALIGNMENT 4
#define portPOINTER_SIZE_TYPE size_t
typedef portSTACK_TYPE StackType_t;
typedef signed char BaseType_t;
typedef unsigned char UBaseType_t;
@ -55,21 +55,23 @@ typedef unsigned char UBaseType_t;
/*-----------------------------------------------------------*/
#define portGET_HIGHEST_PRIORITY( uxTopPriority, uxReadyPriorities ) {uxTopPriority = 0;}while(0)
#define portGET_HIGHEST_PRIORITY( uxTopPriority, uxReadyPriorities ) \
{ uxTopPriority = 0; } \
while( 0 )
#endif /* configUSE_PORT_OPTIMISED_TASK_SELECTION */
#define portDISABLE_INTERRUPTS() { /* Disable the interrupts */ }
#define portENABLE_INTERRUPTS() { /* Enable the interrupts */ }
#define portDISABLE_INTERRUPTS() { /* Disable the interrupts */ }
#define portENABLE_INTERRUPTS() { /* Enable the interrupts */ }
#define portENTER_CRITICAL() { /* preserve current interrupt state and then disable interrupts */ }
#define portEXIT_CRITICAL() { /* restore previously preserved interrupt state */ }
#define portENTER_CRITICAL() { /* preserve current interrupt state and then disable interrupts */ }
#define portEXIT_CRITICAL() { /* restore previously preserved interrupt state */ }
extern void vPortYield( void );
#define portYIELD() vPortYield()
#define portYIELD() vPortYield()
/* Task function macros as described on the FreeRTOS.org WEB site. */
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void * pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void * pvParameters )
#endif /* PORTMACRO_H */
#endif /* PORTMACRO_H */