]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/uIP_Task.c
Update the demo directory to use the version 8 type naming conventions.
[freertos] / FreeRTOS / Demo / ARM7_AT91SAM7X256_Eclipse / RTOSDemo / webserver / uIP_Task.c
index 4f2d2a8bbb3677d8a9c80e8f9e1a8414c0949ae0..818c7e68c3f1f3c7773cc0b13e2f8238c406b312 100644 (file)
 #include "partest.h"\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
 \r
 /* The semaphore used by the ISR to wake the uIP task. */\r
-static xSemaphoreHandle xEMACSemaphore;\r
+static SemaphoreHandle_t xEMACSemaphore;\r
 \r
 /*-----------------------------------------------------------*/\r
 \r