From a1549505ddb20edb633f75bf25fad63b0da646af Mon Sep 17 00:00:00 2001 From: richardbarry Date: Fri, 8 Jan 2010 14:21:33 +0000 Subject: [PATCH] Again, just corrected some comments. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@948 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- Source/include/task.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Source/include/task.h b/Source/include/task.h index d3c830c98..30f3bf40a 100644 --- a/Source/include/task.h +++ b/Source/include/task.h @@ -274,7 +274,7 @@ typedef struct xTASK_PARAMTERS /** * task. h *
- portBASE_TYPE xTaskCreateRestricted( xTaskParameters *pxTaskDefinition, xTaskHandle pxCreatedTask );
+ portBASE_TYPE xTaskCreateRestricted( xTaskParameters *pxTaskDefinition, xTaskHandle *pxCreatedTask ); * * xTaskCreateRestricted() should only be used in systems that include an MPU * implementation. @@ -288,10 +288,6 @@ typedef struct xTASK_PARAMTERS * documentation) plus an optional stack buffer and the memory region * definitions. * - * @param pcName A descriptive name for the task. This is mainly used to - * facilitate debugging. Max length defined by tskMAX_TASK_NAME_LEN - default - * is 16. - * * @param pxCreatedTask Used to pass back a handle by which the created task * can be referenced. * @@ -1254,7 +1250,7 @@ void vTaskPriorityDisinherit( xTaskHandle * const pxMutexHolder ) PRIVILEGED_FUN /* * Generic version of the task creation function which is in turn called by the - * xTaskCreate() and xTaskCreateProtected() macros. + * xTaskCreate() and xTaskCreateRestricted() macros. */ signed portBASE_TYPE xTaskGenericCreate( pdTASK_CODE pvTaskCode, const signed char * const pcName, unsigned short usStackDepth, void *pvParameters, unsigned portBASE_TYPE uxPriority, xTaskHandle *pxCreatedTask, portSTACK_TYPE *puxStackBuffer, const xMemoryRegion * const xRegions ) PRIVILEGED_FUNCTION; -- 2.39.5