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:
- 23:6a16dc53bdad
- Parent:
- 22:4141d6a13488
- Child:
- 24:45bcaa34bcaa
--- 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");