mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-07 05:34:59 -05:00
Update for format
This commit is contained in:
parent
6be9ad0c0e
commit
216ea3915c
1 changed files with 3 additions and 2 deletions
5
tasks.c
5
tasks.c
|
|
@ -2300,8 +2300,9 @@ static void prvInitialiseNewTask( TaskFunction_t pxTaskCode,
|
|||
}
|
||||
#else /* #if ( configNUMBER_OF_CORES == 1 ) */
|
||||
{
|
||||
/* It is important to use critical section here because checking
|
||||
* run state of a task must be done inside a critical section. */
|
||||
/* It is important to use critical section here because
|
||||
* checking run state of a task must be done inside a
|
||||
* critical section. */
|
||||
taskENTER_CRITICAL();
|
||||
{
|
||||
if( taskTASK_IS_RUNNING( pxTCB ) == pdTRUE )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue