]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/Common/Minimal/recmutex.c
Update version number to 8.1.2 after moving the defaulting of configUSE_PORT_OPTIMISE...
[freertos] / FreeRTOS / Demo / Common / Minimal / recmutex.c
index d6badaf7ba9bf7837bb22448c6c5fd7d9d1a0a58..e8625e689caf0496d03cc5692e689e79285d483b 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-    FreeRTOS V8.0.1 - Copyright (C) 2014 Real Time Engineers Ltd.\r
+    FreeRTOS V8.1.2 - Copyright (C) 2014 Real Time Engineers Ltd.\r
     All rights reserved\r
 \r
     VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.\r
@@ -121,7 +121,7 @@ be overridden by a definition in FreeRTOSConfig.h. */
 /* Misc. */\r
 #define recmuSHORT_DELAY                               ( 20 / portTICK_PERIOD_MS )\r
 #define recmuNO_DELAY                                  ( ( TickType_t ) 0 )\r
-#define recmuFIVE_TICK_DELAY                   ( ( TickType_t ) 5 )\r
+#define recmuEIGHT_TICK_DELAY                  ( ( TickType_t ) 8 )\r
 \r
 /* The three tasks as described at the top of this file. */\r
 static void prvRecursiveMutexControllingTask( void *pvParameters );\r
@@ -195,7 +195,7 @@ UBaseType_t ux;
                        long enough to ensure the polling task will execute again before the\r
                        block time expires.  If the block time does expire then the error\r
                        flag will be set here. */\r
-                       if( xSemaphoreTakeRecursive( xMutex, recmuFIVE_TICK_DELAY ) != pdPASS )\r
+                       if( xSemaphoreTakeRecursive( xMutex, recmuEIGHT_TICK_DELAY ) != pdPASS )\r
                        {\r
                                xErrorOccurred = pdTRUE;\r
                        }\r