]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/NEC_78K0R_IAR/ButtonTask.c
Update version number to 8.1.1 for patch release that re-enables mutexes to be given...
[freertos] / FreeRTOS / Demo / NEC_78K0R_IAR / ButtonTask.c
index f09672cfa6d4cddefd1b582f1d1dbafb5c2bf474..0674f444063d2ca581cb8b789d5edb8435295fac 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-    FreeRTOS V8.0.0:rc1 - Copyright (C) 2014 Real Time Engineers Ltd. \r
+    FreeRTOS V8.1.1 - 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
     the terms of the GNU General Public License (version 2) as published by the\r
     Free Software Foundation >>!AND MODIFIED BY!<< the FreeRTOS exception.\r
 \r
-    >>! NOTE: The modification to the GPL is included to allow you to distribute\r
-    >>! a combined work that includes FreeRTOS without being obliged to provide\r
-    >>! the source code for proprietary components outside of the FreeRTOS\r
-    >>! kernel.\r
+    >>!   NOTE: The modification to the GPL is included to allow you to     !<<\r
+    >>!   distribute a combined work that includes FreeRTOS without being   !<<\r
+    >>!   obliged to provide the source code for proprietary components     !<<\r
+    >>!   outside of the FreeRTOS kernel.                                   !<<\r
 \r
     FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY\r
     WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\r
 #define butLED1   P7_bit.no7\r
 \r
 /* A short delay used for button debouncing. */\r
-#define butDEBOUNCE_DELAY      ( 200 / portTICK_RATE_MS )\r
+#define butDEBOUNCE_DELAY      ( 200 / portTICK_PERIOD_MS )\r
 \r
 /* The semaphore used to synchronise the button push task with the interrupt. */\r
-static xSemaphoreHandle xButtonSemaphore;\r
+static SemaphoreHandle_t xButtonSemaphore;\r
 \r
 /*\r
  * The definition of the button task itself.  See the comments at the top of\r