Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of libMiMic by
Diff: mbed/ModLocalFileSystem.cpp
- Revision:
- 20:3b0b444b4deb
- Parent:
- 19:33b9ba0859ee
- Child:
- 21:f2a70f15301f
--- 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);
}
