From 4ffc87590ed8829183860585ed85f6cb954f749d Mon Sep 17 00:00:00 2001 From: richardbarry Date: Thu, 9 Sep 2010 09:41:52 +0000 Subject: [PATCH] Removed the critical section that was left in by mistake. Also changed the delay period while waiting for the Ethernet semaphore. Both in the RX RDK demo. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1083 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- Demo/RX600_RX62N-RDK_Renesas/RTOSDemo/uIP_Task.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Demo/RX600_RX62N-RDK_Renesas/RTOSDemo/uIP_Task.c b/Demo/RX600_RX62N-RDK_Renesas/RTOSDemo/uIP_Task.c index f99cda803..9f89c3218 100644 --- a/Demo/RX600_RX62N-RDK_Renesas/RTOSDemo/uIP_Task.c +++ b/Demo/RX600_RX62N-RDK_Renesas/RTOSDemo/uIP_Task.c @@ -150,7 +150,6 @@ struct timer periodic_timer, arp_timer; if( ( uip_len > 0 ) && ( uip_buf != NULL ) ) { -taskENTER_CRITICAL(); /* Standard uIP loop taken from the uIP manual. */ if( xHeader->type == htons( UIP_ETHTYPE_IP ) ) { @@ -178,7 +177,6 @@ taskENTER_CRITICAL(); vEMACWrite(); } } -taskEXIT_CRITICAL(); } else { @@ -212,7 +210,7 @@ taskEXIT_CRITICAL(); processing to perform. Block for a fixed period. If a packet is received during this period we will be woken by the ISR giving us the Semaphore. */ - xSemaphoreTake( xEMACSemaphore, configTICK_RATE_HZ / 2 ); + xSemaphoreTake( xEMACSemaphore, configTICK_RATE_HZ / 20 ); } } } -- 2.39.2