]> git.sur5r.net Git - freertos/blobdiff - Demo/Common/Minimal/dynamic.c
UpdUpdate IAR projects to use Embedded Workbench V5.11.
[freertos] / Demo / Common / Minimal / dynamic.c
index 5f8d3ab56147905587b6ef1575d92496f7c03223..43f08cb3e64ee71fea046fa6c99b7c43af471eb5 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-       FreeRTOS.org V4.6.1 - Copyright (C) 2003-2007 Richard Barry.\r
+       FreeRTOS.org V4.7.0 - Copyright (C) 2003-2007 Richard Barry.\r
 \r
        This file is part of the FreeRTOS.org distribution.\r
 \r
@@ -351,6 +351,12 @@ portBASE_TYPE xGotValue;
                        }\r
                        xTaskResumeAll();\r
 \r
+                       #if configUSE_PREEMPTION == 0\r
+                       {\r
+                               taskYIELD();\r
+                       }\r
+                       #endif\r
+\r
                } while( xGotValue == pdFALSE );\r
 \r
                if( ulReceivedValue != ulExpectedValue )\r