configASSERT( xPortRunning );\r
SetEvent( pvInterruptEvent );\r
\r
- if( ( ulPendingInterrupts & ( 1 << portINTERRUPT_YIELD ) ) != 0 )\r
+ if( ulPendingInterrupts != 0 )\r
{\r
/* Going to wait for an event - make sure the event is not already\r
signaled. */\r