\r
if( ( uip_len > 0 ) && ( uip_buf != NULL ) )\r
{\r
-taskENTER_CRITICAL();\r
/* Standard uIP loop taken from the uIP manual. */\r
if( xHeader->type == htons( UIP_ETHTYPE_IP ) )\r
{\r
vEMACWrite();\r
}\r
}\r
-taskEXIT_CRITICAL();\r
}\r
else\r
{\r
processing to perform. Block for a fixed period. If a packet\r
is received during this period we will be woken by the ISR\r
giving us the Semaphore. */\r
- xSemaphoreTake( xEMACSemaphore, configTICK_RATE_HZ / 2 );\r
+ xSemaphoreTake( xEMACSemaphore, configTICK_RATE_HZ / 20 );\r
}\r
}\r
}\r