]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/portable/MSVC-MingW/port.c
Continued to work on the MQTT demo project.
[freertos] / FreeRTOS / Source / portable / MSVC-MingW / port.c
index c2e2a82acdf4d24fcf9f00bb90fa1e5d82a790fe..2e67896d0e85c8f934f6d6fcd74700f4784a3913 100644 (file)
@@ -639,7 +639,7 @@ int32_t lMutexNeedsReleasing, lWaitForYield = pdFALSE;
                                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