mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-06-06 12:29:03 -04:00
Tidy up comments only.
This commit is contained in:
parent
ce9c3b7413
commit
e83b93f5fc
|
@ -80,7 +80,6 @@
|
||||||
#error "include FreeRTOS.h must appear in source files before include task.h"
|
#error "include FreeRTOS.h must appear in source files before include task.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "portable.h"
|
|
||||||
#include "list.h"
|
#include "list.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
|
@ -168,7 +168,6 @@ typedef struct tskTaskControlBlock
|
||||||
#define static
|
#define static
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*lint -e956 */
|
|
||||||
PRIVILEGED_DATA tskTCB * volatile pxCurrentTCB = NULL;
|
PRIVILEGED_DATA tskTCB * volatile pxCurrentTCB = NULL;
|
||||||
|
|
||||||
/* Lists for ready and blocked tasks. --------------------*/
|
/* Lists for ready and blocked tasks. --------------------*/
|
||||||
|
@ -470,8 +469,6 @@ static tskTCB *prvAllocateTCBAndStack( unsigned short usStackDepth, portSTACK_TY
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*lint +e956 */
|
|
||||||
|
|
||||||
signed portBASE_TYPE xTaskGenericCreate( pdTASK_CODE pxTaskCode, const signed char * const pcName, unsigned short usStackDepth, void *pvParameters, unsigned portBASE_TYPE uxPriority, xTaskHandle *pxCreatedTask, portSTACK_TYPE *puxStackBuffer, const xMemoryRegion * const xRegions )
|
signed portBASE_TYPE xTaskGenericCreate( pdTASK_CODE pxTaskCode, const signed char * const pcName, unsigned short usStackDepth, void *pvParameters, unsigned portBASE_TYPE uxPriority, xTaskHandle *pxCreatedTask, portSTACK_TYPE *puxStackBuffer, const xMemoryRegion * const xRegions )
|
||||||
{
|
{
|
||||||
signed portBASE_TYPE xReturn;
|
signed portBASE_TYPE xReturn;
|
||||||
|
@ -2181,7 +2178,7 @@ static portTASK_FUNCTION( prvIdleTask, pvParameters )
|
||||||
}
|
}
|
||||||
#endif /* configUSE_TICKLESS_IDLE */
|
#endif /* configUSE_TICKLESS_IDLE */
|
||||||
}
|
}
|
||||||
} /*lint !e715 pvParameters is not accessed but all task functions require the same prototype. */
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
#if configUSE_TICKLESS_IDLE != 0
|
#if configUSE_TICKLESS_IDLE != 0
|
||||||
|
|
Loading…
Reference in a new issue