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
Revision 23:6a16dc53bdad, committed 2015-06-25
- Comitter:
- lalitkumar
- Date:
- Thu Jun 25 06:36:32 2015 +0000
- Parent:
- 22:4141d6a13488
- Child:
- 24:45bcaa34bcaa
- Commit message:
- reset in gsm_init moved to main function for further analysis
Changed in this revision
| merged_code.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/merged_code.cpp Thu Jun 25 06:30:44 2015 +0000
+++ b/merged_code.cpp Thu Jun 25 06:36:32 2015 +0000
@@ -695,7 +695,6 @@
if(cnt > 5)
{
pc.printf("GSM registration failed");
- reset_mod();
return 0;
}
}
@@ -1030,7 +1029,7 @@
wait(1);
gsm_rst=1;
wait(8);
- gsm_init();
+ if(gsm_init()==0) reset_mod();
mkdir("/sd/jas",0777);
int old_hour=100,loopcount=0;
pc.printf("\r\nHelloWorld\r\n");