File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 326326 * one core to yield. */
327327 #define prvYieldCore ( xCoreID ) \
328328 do { \
329- if( xCoreID == ( BaseType_t ) portGET_CORE_ID() ) \
329+ if( ( xCoreID ) == ( BaseType_t ) portGET_CORE_ID() ) \
330330 { \
331331 /* Pending a yield for this core since it is in the critical section. */ \
332- xYieldPendings [ xCoreID ] = pdTRUE ; \
332+ xYieldPendings [ ( xCoreID ) ] = pdTRUE ; \
333333 } \
334334 else \
335335 { \
336336 /* Request other core to yield if it is not requested before. */ \
337- if ( pxCurrentTCBs [ xCoreID ]-> xTaskRunState != taskTASK_SCHEDULED_TO_YIELD ) \
337+ if ( pxCurrentTCBs [ ( xCoreID ) ]-> xTaskRunState != taskTASK_SCHEDULED_TO_YIELD ) \
338338 { \
339339 portYIELD_CORE ( xCoreID ); \
340- pxCurrentTCBs [ xCoreID ]-> xTaskRunState = taskTASK_SCHEDULED_TO_YIELD ; \
340+ pxCurrentTCBs [ ( xCoreID ) ]-> xTaskRunState = taskTASK_SCHEDULED_TO_YIELD ; \
341341 } \
342342 } \
343343 } while ( 0 )
You can’t perform that action at this time.
0 commit comments