mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Correct type on comment.
This commit is contained in:
parent
7c927d69d5
commit
cacf4036b9
|
@ -254,7 +254,7 @@ typedef struct xTASK_PARAMTERS
|
||||||
// Create the task, storing the handle. Note that the passed parameter ucParameterToPass
|
// Create the task, storing the handle. Note that the passed parameter ucParameterToPass
|
||||||
// must exist for the lifetime of the task, so in this case is declared static. If it was just an
|
// must exist for the lifetime of the task, so in this case is declared static. If it was just an
|
||||||
// an automatic stack variable it might no longer exist, or at least have been corrupted, by the time
|
// an automatic stack variable it might no longer exist, or at least have been corrupted, by the time
|
||||||
// the new time attempts to access it.
|
// the new task attempts to access it.
|
||||||
xTaskCreate( vTaskCode, "NAME", STACK_SIZE, &ucParameterToPass, tskIDLE_PRIORITY, &xHandle );
|
xTaskCreate( vTaskCode, "NAME", STACK_SIZE, &ucParameterToPass, tskIDLE_PRIORITY, &xHandle );
|
||||||
|
|
||||||
// Use the handle to delete the task.
|
// Use the handle to delete the task.
|
||||||
|
|
Loading…
Reference in a new issue