From: richardbarry Date: Fri, 8 Jan 2010 14:21:33 +0000 (+0000) Subject: Again, just corrected some comments. X-Git-Tag: V6.0.3~38 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a1549505ddb20edb633f75bf25fad63b0da646af;p=freertos Again, just corrected some comments. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@948 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- 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;