mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-08 20:55:14 -05:00
Uncrustify: triggered by comment.
This commit is contained in:
parent
102ee11a61
commit
f0cbe63485
1 changed files with 10 additions and 10 deletions
20
tasks.c
20
tasks.c
|
|
@ -175,17 +175,17 @@
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
#if ( configNUMBER_OF_CORES == 1 )
|
#if ( configNUMBER_OF_CORES == 1 )
|
||||||
#define taskSELECT_HIGHEST_PRIORITY_TASK() \
|
#define taskSELECT_HIGHEST_PRIORITY_TASK() \
|
||||||
do { \
|
do { \
|
||||||
UBaseType_t uxTopPriority = uxTopReadyPriority; \
|
UBaseType_t uxTopPriority = uxTopReadyPriority; \
|
||||||
\
|
\
|
||||||
/* Find the highest priority queue that contains ready tasks. */ \
|
/* Find the highest priority queue that contains ready tasks. */ \
|
||||||
while( listLIST_IS_EMPTY( &( pxReadyTasksLists[ uxTopPriority ] ) ) != pdFALSE ) \
|
while( listLIST_IS_EMPTY( &( pxReadyTasksLists[ uxTopPriority ] ) ) != pdFALSE ) \
|
||||||
{ \
|
{ \
|
||||||
configASSERT( uxTopPriority ); \
|
configASSERT( uxTopPriority ); \
|
||||||
--uxTopPriority; \
|
--uxTopPriority; \
|
||||||
} \
|
} \
|
||||||
\
|
\
|
||||||
/* listGET_OWNER_OF_NEXT_ENTRY indexes through the list, so the tasks of \
|
/* listGET_OWNER_OF_NEXT_ENTRY indexes through the list, so the tasks of \
|
||||||
* the same priority get an equal share of the processor time. */ \
|
* the same priority get an equal share of the processor time. */ \
|
||||||
listGET_OWNER_OF_NEXT_ENTRY( pxCurrentTCB, &( pxReadyTasksLists[ uxTopPriority ] ) ); \
|
listGET_OWNER_OF_NEXT_ENTRY( pxCurrentTCB, &( pxReadyTasksLists[ uxTopPriority ] ) ); \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue