File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 175
175
/*-----------------------------------------------------------*/
176
176
177
177
#if ( configNUMBER_OF_CORES == 1 )
178
- #define taskSELECT_HIGHEST_PRIORITY_TASK () \
179
- do { \
180
- UBaseType_t uxTopPriority = uxTopReadyPriority; \
181
- \
182
- /* Find the highest priority queue that contains ready tasks. */ \
183
- while ( listLIST_IS_EMPTY ( & ( pxReadyTasksLists [ uxTopPriority ] ) ) ) \
184
- { \
185
- configASSERT ( uxTopPriority ); \
186
- -- uxTopPriority ; \
187
- } \
188
- \
178
+ #define taskSELECT_HIGHEST_PRIORITY_TASK () \
179
+ do { \
180
+ UBaseType_t uxTopPriority = uxTopReadyPriority; \
181
+ \
182
+ /* Find the highest priority queue that contains ready tasks. */ \
183
+ while ( listLIST_IS_EMPTY ( & ( pxReadyTasksLists [ uxTopPriority ] ) ) != pdFALSE ) \
184
+ { \
185
+ configASSERT ( uxTopPriority ); \
186
+ -- uxTopPriority ; \
187
+ } \
188
+ \
189
189
/* listGET_OWNER_OF_NEXT_ENTRY indexes through the list, so the tasks of \
190
190
* the same priority get an equal share of the processor time. */ \
191
191
listGET_OWNER_OF_NEXT_ENTRY ( pxCurrentTCB , & ( pxReadyTasksLists [ uxTopPriority ] ) ); \
You can’t perform that action at this time.
0 commit comments