]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/uIP_Task.c
Update the demo directory to use the version 8 type naming conventions.
[freertos] / FreeRTOS / Demo / CORTEX_STM32F107_GCC_Rowley / webserver / uIP_Task.c
index fe24090079df4b3717c8bec58978a30c31d55df2..c8f5e7b1250561b6d7c9ca4096f8ae10784df381 100644 (file)
@@ -85,7 +85,7 @@
 /*-----------------------------------------------------------*/\r
 \r
 /* How long to wait before attempting to connect the MAC again. */\r
-#define uipINIT_WAIT                           ( 100 / portTICK_RATE_MS )\r
+#define uipINIT_WAIT                           ( 100 / portTICK_PERIOD_MS )\r
 \r
 /* Shortcut to the header within the Rx buffer. */\r
 #define xHeader ((struct uip_eth_hdr *) &uip_buf[ 0 ])\r
@@ -110,7 +110,7 @@ clock_time_t clock_time( void );
 /*-----------------------------------------------------------*/\r
 \r
 /* The semaphore used by the ISR to wake the uIP task. */\r
-xSemaphoreHandle xEMACSemaphore;\r
+SemaphoreHandle_t xEMACSemaphore;\r
 \r
 /* The buffer used by the uIP stack.  In this case the pointer is used to\r
 point to one of the Rx buffers. */\r
@@ -253,7 +253,7 @@ void vApplicationProcessFormInput( char *pcInputString )
 char *c, *pcText;\r
 static char cMessageForDisplay[ 32 ];\r
 static const char *pcMessage = cMessageForDisplay;\r
-extern xQueueHandle xLCDQueue;\r
+extern QueueHandle_t xLCDQueue;\r
 \r
        /* Process the form input sent by the IO page of the served HTML. */\r
 \r