mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-07 05:34:59 -05:00
Update comment explaining use of temp variable
This commit is contained in:
parent
a271726d8f
commit
2b1b1fe5dc
1 changed files with 1 additions and 1 deletions
2
tasks.c
2
tasks.c
|
|
@ -3239,7 +3239,7 @@ static void prvInitialiseNewTask( TaskFunction_t pxTaskCode,
|
|||
* to by pxCurrentTCB has just been suspended and pxCurrentTCB
|
||||
* must be adjusted to point to a different task. */
|
||||
|
||||
/* Use temp variable as distinct sequence points for reading
|
||||
/* Use a temp variable as a distinct sequence point for reading
|
||||
* volatile variables prior to a comparison to ensure compliance
|
||||
* with MISRA C 2012 Rule 13.2. */
|
||||
uxCurrentListLength = listCURRENT_LIST_LENGTH( &xSuspendedTaskList );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue