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.
Dependencies: SDFileSystem dspmodified mbed
Diff: merged_code.cpp
- Revision:
- 1:56e7680a6339
- Parent:
- 0:f2467c077504
- Child:
- 2:e5b9aefbcdeb
diff -r f2467c077504 -r 56e7680a6339 merged_code.cpp
--- a/merged_code.cpp Sat Feb 14 05:58:02 2015 +0000
+++ b/merged_code.cpp Mon Feb 16 11:02:26 2015 +0000
@@ -35,6 +35,7 @@
char pathDCdetect[100] ="";
char pathfft[100]="";
//char putpathname[100]="";
+
char filenameAC[100] ="";
char filenameDC[100] ="";
char filenamefft[100] ="";
@@ -702,12 +703,14 @@
wait(5);
ftp_put(2);
}
+ // Delete the particular Folder Case : 4
else if(atoi(token) ==4)
{
//FOR DELETING THE SELECTED FILE
pc.printf("\r\n Deleting....\r\n");
- sprintf(removefile,"%s",ftpget);
-
+ token = strtok(NULL,s);
+ sprintf(removefile,"%s",token);
+ pc.printf("Removefile is %s\r\n",removefile);
if(removefile==NULL)
{
pc.printf("\r\n NULL Condition\r\n");