]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/WizNET_DEMO_GCC_ARM7/TCP.c
Update version number to 8.1.2 after moving the defaulting of configUSE_PORT_OPTIMISE...
[freertos] / FreeRTOS / Demo / WizNET_DEMO_GCC_ARM7 / TCP.c
index 36ee79b69810b9d591ac56948b45e779a0352f5f..1fc8dccf33fc46175c4affd388c254ed7a5cf963 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-    FreeRTOS V7.6.0 - Copyright (C) 2013 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
     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
@@ -127,12 +127,12 @@ device. */
 #define tcpEINT0_VIC_ENABLE                            ( ( unsigned long ) 0x0020 )\r
 \r
 /* Various delays used in the driver. */\r
-#define tcpRESET_DELAY                                 ( ( portTickType ) 16 / portTICK_RATE_MS )\r
-#define tcpINIT_DELAY                                  ( ( portTickType ) 500 / portTICK_RATE_MS  )\r
-#define tcpLONG_DELAY                                  ( ( portTickType ) 500 / portTICK_RATE_MS  )\r
-#define tcpSHORT_DELAY                                 ( ( portTickType ) 5 / portTICK_RATE_MS )\r
-#define tcpCONNECTION_WAIT_DELAY               ( ( portTickType ) 100 / portTICK_RATE_MS )\r
-#define tcpNO_DELAY                                            ( ( portTickType ) 0 )\r
+#define tcpRESET_DELAY                                 ( ( TickType_t ) 16 / portTICK_PERIOD_MS )\r
+#define tcpINIT_DELAY                                  ( ( TickType_t ) 500 / portTICK_PERIOD_MS  )\r
+#define tcpLONG_DELAY                                  ( ( TickType_t ) 500 / portTICK_PERIOD_MS  )\r
+#define tcpSHORT_DELAY                                 ( ( TickType_t ) 5 / portTICK_PERIOD_MS )\r
+#define tcpCONNECTION_WAIT_DELAY               ( ( TickType_t ) 100 / portTICK_PERIOD_MS )\r
+#define tcpNO_DELAY                                            ( ( TickType_t ) 0 )\r
 \r
 /* Length of the data to read for various register reads. */\r
 #define tcpSTATUS_READ_LEN                             ( ( unsigned long ) 1 )\r
@@ -212,8 +212,8 @@ const unsigned char const ucDataEnableISR[]                 = { i2cCHANNEL_0_ISR_ENABLE };
 const unsigned char const ucDataDisableISR[]           = { i2cCHANNEL_0_ISR_DISABLE };\r
 const unsigned char const ucDataClearInterrupt[]       = { i2cCLEAR_ALL_INTERRUPTS };\r
 \r
-static xSemaphoreHandle xMessageComplete = NULL;\r
-xQueueHandle xTCPISRQueue = NULL;\r
+static SemaphoreHandle_t xMessageComplete = NULL;\r
+QueueHandle_t xTCPISRQueue = NULL;\r
 \r
 /* Dynamically generate and send an html page. */\r
 static void prvSendSamplePage( void );\r