mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-13 01:27:48 -04:00
spelling fixes for tasks.c
This commit is contained in:
parent
832ec3c946
commit
2019ecb070
1 changed files with 3 additions and 3 deletions
6
tasks.c
6
tasks.c
|
@ -641,7 +641,7 @@ static void prvCheckForRunStateChange( void )
|
||||||
uxPrevCriticalNesting = pxThisTCB->uxCriticalNesting;
|
uxPrevCriticalNesting = pxThisTCB->uxCriticalNesting;
|
||||||
uxPrevSchedulerSuspended = uxSchedulerSuspended;
|
uxPrevSchedulerSuspended = uxSchedulerSuspended;
|
||||||
|
|
||||||
/* this must only be called the first time we enter into a crtical
|
/* this must only be called the first time we enter into a critical
|
||||||
* section, otherwise it could context switch in the middle of a
|
* section, otherwise it could context switch in the middle of a
|
||||||
* critical section. */
|
* critical section. */
|
||||||
configASSERT( uxPrevCriticalNesting + uxPrevSchedulerSuspended == 1U );
|
configASSERT( uxPrevCriticalNesting + uxPrevSchedulerSuspended == 1U );
|
||||||
|
@ -2657,7 +2657,7 @@ void vTaskStartScheduler( void )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Apped the idle task number to the end of the name if there is space */
|
/* Append the idle task number to the end of the name if there is space */
|
||||||
if( x < configMAX_TASK_NAME_LEN )
|
if( x < configMAX_TASK_NAME_LEN )
|
||||||
{
|
{
|
||||||
cIdleName[ x++ ] = xCoreID + '0';
|
cIdleName[ x++ ] = xCoreID + '0';
|
||||||
|
@ -3444,7 +3444,7 @@ BaseType_t xTaskIncrementTick( void )
|
||||||
traceTASK_INCREMENT_TICK( xTickCount );
|
traceTASK_INCREMENT_TICK( xTickCount );
|
||||||
|
|
||||||
/* Tick increment should occur on every kernel timer event. Core 0 has the
|
/* Tick increment should occur on every kernel timer event. Core 0 has the
|
||||||
* responsiblity to increment the tick, or increment the pended ticks if the
|
* responsibility to increment the tick, or increment the pended ticks if the
|
||||||
* scheduler is suspended. If pended ticks is greater than zero, the core that
|
* scheduler is suspended. If pended ticks is greater than zero, the core that
|
||||||
* calls xTaskResumeAll has the responsibility to increment the tick. */
|
* calls xTaskResumeAll has the responsibility to increment the tick. */
|
||||||
if( uxSchedulerSuspended == ( UBaseType_t ) pdFALSE )
|
if( uxSchedulerSuspended == ( UBaseType_t ) pdFALSE )
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue