]> 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 5d664732882a077cfc42c019e807723ebeefe81c..43f08cb3e64ee71fea046fa6c99b7c43af471eb5 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-       FreeRTOS.org V4.5.0 - 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
@@ -28,8 +28,9 @@
        and contact details.  Please ensure to read the configuration and relevant \r
        port sections of the online documentation.\r
 \r
-       Also see http://www.SafeRTOS.com for an IEC 61508 compliant version along\r
-       with commercial development and support options.\r
+       Also see http://www.SafeRTOS.com a version that has been certified for use\r
+       in safety critical systems, plus commercial licensing, development and\r
+       support options.\r
        ***************************************************************************\r
 */\r
 \r
@@ -350,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