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;