mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-07 13:45:00 -05:00
Update location of uxCurrentListLength Declaration
This commit is contained in:
parent
52559f478b
commit
6ee152dd94
1 changed files with 2 additions and 1 deletions
3
tasks.c
3
tasks.c
|
|
@ -3106,7 +3106,6 @@ static void prvInitialiseNewTask( TaskFunction_t pxTaskCode,
|
||||||
void vTaskSuspend( TaskHandle_t xTaskToSuspend )
|
void vTaskSuspend( TaskHandle_t xTaskToSuspend )
|
||||||
{
|
{
|
||||||
TCB_t * pxTCB;
|
TCB_t * pxTCB;
|
||||||
UBaseType_t uxCurrentListLength;
|
|
||||||
|
|
||||||
traceENTER_vTaskSuspend( xTaskToSuspend );
|
traceENTER_vTaskSuspend( xTaskToSuspend );
|
||||||
|
|
||||||
|
|
@ -3176,6 +3175,8 @@ static void prvInitialiseNewTask( TaskFunction_t pxTaskCode,
|
||||||
|
|
||||||
#if ( configNUMBER_OF_CORES == 1 )
|
#if ( configNUMBER_OF_CORES == 1 )
|
||||||
{
|
{
|
||||||
|
UBaseType_t uxCurrentListLength;
|
||||||
|
|
||||||
if( pxTCB == pxCurrentTCB )
|
if( pxTCB == pxCurrentTCB )
|
||||||
{
|
{
|
||||||
if( xSchedulerRunning != pdFALSE )
|
if( xSchedulerRunning != pdFALSE )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue