From 6311ad13b9a66d5ebefede1ee1520533b666da6b Mon Sep 17 00:00:00 2001 From: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com> Date: Wed, 28 Sep 2022 21:42:05 +0530 Subject: [PATCH] Update doc comments in task.h (#570) Signed-off-by: Gaurav Aggarwal --- include/task.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/task.h b/include/task.h index cdc63a1ae..a3548296b 100644 --- a/include/task.h +++ b/include/task.h @@ -628,7 +628,7 @@ typedef enum * // Create a task from the const structure defined above. The task handle * // is requested (the second parameter is not NULL) but in this case just for * // demonstration purposes as its not actually used. - * xTaskCreateRestricted( &xRegTest1Parameters, &xHandle ); + * xTaskCreateRestrictedStatic( &xRegTest1Parameters, &xHandle ); * * // Start the scheduler. * vTaskStartScheduler(); @@ -690,7 +690,7 @@ typedef enum * // defined or shared regions have been declared elsewhere). * } * @endcode - * \defgroup xTaskCreateRestricted xTaskCreateRestricted + * \defgroup vTaskAllocateMPURegions vTaskAllocateMPURegions * \ingroup Tasks */ void vTaskAllocateMPURegions( TaskHandle_t xTask,