Skip to content

Commit 45a8f56

Browse files
committed
Change UBaseType_t to BaseType_t for a boolean variable
1 parent 27c4fef commit 45a8f56

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tasks.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3895,17 +3895,17 @@ void vTaskSuspendAll( void )
38953895
static TickType_t prvGetExpectedIdleTime( void )
38963896
{
38973897
TickType_t xReturn;
3898-
UBaseType_t uxHigherPriorityReadyTasks = pdFALSE;
3898+
BaseType_t xHigherPriorityReadyTasks = pdFALSE;
38993899

3900-
/* uxHigherPriorityReadyTasks takes care of the case where
3900+
/* xHigherPriorityReadyTasks takes care of the case where
39013901
* configUSE_PREEMPTION is 0, so there may be tasks above the idle priority
39023902
* task that are in the Ready state, even though the idle task is
39033903
* running. */
39043904
#if ( configUSE_PORT_OPTIMISED_TASK_SELECTION == 0 )
39053905
{
39063906
if( uxTopReadyPriority > tskIDLE_PRIORITY )
39073907
{
3908-
uxHigherPriorityReadyTasks = pdTRUE;
3908+
xHigherPriorityReadyTasks = pdTRUE;
39093909
}
39103910
}
39113911
#else
@@ -3919,7 +3919,7 @@ void vTaskSuspendAll( void )
39193919
* care of the case where the co-operative scheduler is in use. */
39203920
if( uxTopReadyPriority > uxLeastSignificantBit )
39213921
{
3922-
uxHigherPriorityReadyTasks = pdTRUE;
3922+
xHigherPriorityReadyTasks = pdTRUE;
39233923
}
39243924
}
39253925
#endif /* if ( configUSE_PORT_OPTIMISED_TASK_SELECTION == 0 ) */
@@ -3935,7 +3935,7 @@ void vTaskSuspendAll( void )
39353935
* processed. */
39363936
xReturn = 0;
39373937
}
3938-
else if( uxHigherPriorityReadyTasks != pdFALSE )
3938+
else if( xHigherPriorityReadyTasks != pdFALSE )
39393939
{
39403940
/* There are tasks in the Ready state that have a priority above the
39413941
* idle priority. This path can only be reached if

0 commit comments

Comments
 (0)