]> git.sur5r.net Git - freertos/commitdiff
Removed the critical section that was left in by mistake. Also changed the delay...
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Thu, 9 Sep 2010 09:41:52 +0000 (09:41 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Thu, 9 Sep 2010 09:41:52 +0000 (09:41 +0000)
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

index f99cda8038bb27f35caeaf8e61f5784f1d3bdf18..9f89c3218bbcc20075e5c6a4dbd8dc805db05a42 100644 (file)
@@ -150,7 +150,6 @@ struct timer periodic_timer, arp_timer;
                \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
@@ -178,7 +177,6 @@ taskENTER_CRITICAL();
                                        vEMACWrite();\r
                                }\r
                        }\r
-taskEXIT_CRITICAL();\r
                }\r
                else\r
                {\r
@@ -212,7 +210,7 @@ taskEXIT_CRITICAL();
                                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