Jun Furutani / libMiMic

Fork of libMiMic by Ryo Iizuka

Revision:
20:3b0b444b4deb
Parent:
19:33b9ba0859ee
Child:
21:f2a70f15301f
diff -r 33b9ba0859ee -r 3b0b444b4deb mbed/ModLocalFileSystem.cpp
--- a/mbed/ModLocalFileSystem.cpp	Sat Apr 27 13:31:57 2013 +0000
+++ b/mbed/ModLocalFileSystem.cpp	Sun Apr 28 08:54:44 2013 +0000
@@ -144,10 +144,6 @@
         if(!i_connection.isMethodType(Http::MT_GET)){
             //nothing to do
         }else{
-                    {DigitalOut led(LED1);led=0;}
-                    {DigitalOut led(LED2);led=0;}
-                    {DigitalOut led(LED3);led=0;}
-                    {DigitalOut led(LED4);led=1;}
 
             for(;;){
                 sz=fread(buf,1,Httpd::SIZE_OF_HTTP_BUF,fp);
@@ -155,19 +151,16 @@
                     break;
                 }
                 if(!i_connection.sendBody(buf,sz)){
-                    {DigitalOut led(LED1);led=1;}
                     break;
                 }
                 //switch transport thread
-                /*
-                i_connection.releaseHttpd();
+                i_connection.unlockHttpd();
                 NyLPC_cThread_yield();
                 i_connection.lockHttpd();
-                */
             }
         }
     }
-                    {DigitalOut led(LED2);led=1;}
+//                    {DigitalOut led(LED2);led=1;}
     fclose(fp);
 }