diff options
Diffstat (limited to 'FreeRTOS/Demo/SuperH_SH7216_Renesas/RTOSDemo/uIP_Task.c')
-rw-r--r-- | FreeRTOS/Demo/SuperH_SH7216_Renesas/RTOSDemo/uIP_Task.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FreeRTOS/Demo/SuperH_SH7216_Renesas/RTOSDemo/uIP_Task.c b/FreeRTOS/Demo/SuperH_SH7216_Renesas/RTOSDemo/uIP_Task.c index f629d19e0..431101034 100644 --- a/FreeRTOS/Demo/SuperH_SH7216_Renesas/RTOSDemo/uIP_Task.c +++ b/FreeRTOS/Demo/SuperH_SH7216_Renesas/RTOSDemo/uIP_Task.c @@ -87,7 +87,7 @@ /*-----------------------------------------------------------*/
/* How long to wait before attempting to connect the MAC again. */
-#define uipINIT_WAIT ( 100 / portTICK_RATE_MS )
+#define uipINIT_WAIT ( 100 / portTICK_PERIOD_MS )
/* Shortcut to the header within the Rx buffer. */
#define xHeader ((struct uip_eth_hdr *) &uip_buf[ 0 ])
@@ -111,7 +111,7 @@ clock_time_t clock_time( void ); /*-----------------------------------------------------------*/
/* The semaphore used by the ISR to wake the uIP task. */
-xSemaphoreHandle xEMACSemaphore = NULL;
+SemaphoreHandle_t xEMACSemaphore = NULL;
/*-----------------------------------------------------------*/
|