summaryrefslogtreecommitdiff
path: root/FreeRTOS/Demo/uIP_Demo_Rowley_ARM7/uip/uIP_Task.c
diff options
context:
space:
mode:
Diffstat (limited to 'FreeRTOS/Demo/uIP_Demo_Rowley_ARM7/uip/uIP_Task.c')
-rw-r--r--FreeRTOS/Demo/uIP_Demo_Rowley_ARM7/uip/uIP_Task.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/FreeRTOS/Demo/uIP_Demo_Rowley_ARM7/uip/uIP_Task.c b/FreeRTOS/Demo/uIP_Demo_Rowley_ARM7/uip/uIP_Task.c
index 85d2f469e..fe79b5173 100644
--- a/FreeRTOS/Demo/uIP_Demo_Rowley_ARM7/uip/uIP_Task.c
+++ b/FreeRTOS/Demo/uIP_Demo_Rowley_ARM7/uip/uIP_Task.c
@@ -50,13 +50,13 @@
static const struct uip_eth_addr ethaddr = {{0x00,0x00,0xe2,0x58,0xb6,0x6b}};
#define BUF ((struct uip_eth_hdr *)&uip_buf[0])
-#define uipSHORT_DELAY ( ( portTickType ) 2 / portTICK_RATE_MS )
+#define uipSHORT_DELAY ( ( TickType_t ) 2 / portTICK_PERIOD_MS )
#ifndef NULL
#define NULL (void *)0
#endif /* NULL */
-static volatile portTickType start, current;
+static volatile TickType_t start, current;
#define RT_CLOCK_SECOND ( configTICK_RATE_HZ / 2 )