Update doc comments in task.h (#570)

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
This commit is contained in:
Gaurav-Aggarwal-AWS 2022-09-28 21:42:05 +05:30 committed by GitHub
parent 24ade42a37
commit 6311ad13b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -628,7 +628,7 @@ typedef enum
* // Create a task from the const structure defined above. The task handle * // 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 * // is requested (the second parameter is not NULL) but in this case just for
* // demonstration purposes as its not actually used. * // demonstration purposes as its not actually used.
* xTaskCreateRestricted( &xRegTest1Parameters, &xHandle ); * xTaskCreateRestrictedStatic( &xRegTest1Parameters, &xHandle );
* *
* // Start the scheduler. * // Start the scheduler.
* vTaskStartScheduler(); * vTaskStartScheduler();
@ -690,7 +690,7 @@ typedef enum
* // defined or shared regions have been declared elsewhere). * // defined or shared regions have been declared elsewhere).
* } * }
* @endcode * @endcode
* \defgroup xTaskCreateRestricted xTaskCreateRestricted * \defgroup vTaskAllocateMPURegions vTaskAllocateMPURegions
* \ingroup Tasks * \ingroup Tasks
*/ */
void vTaskAllocateMPURegions( TaskHandle_t xTask, void vTaskAllocateMPURegions( TaskHandle_t xTask,