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.
Revision 3:574affd4cf9f, committed 2019-09-17
- Comitter:
- AustinKim
- Date:
- Tue Sep 17 23:56:35 2019 +0000
- Parent:
- 2:74f027438e00
- Commit message:
- Update main.cpp
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Sep 17 08:57:44 2019 +0000 +++ b/main.cpp Tue Sep 17 23:56:35 2019 +0000 @@ -38,7 +38,6 @@ #define WM01_CONNECT_TIMEOUT 15000 #define WM01_SEND_TIMEOUT 500 #define WM01_RECV_TIMEOUT 500 -#define WM01_BOOTING_TIME 15000 #define WM01_APN_PROTOCOL WM01_APN_PROTOCOL_IPv6 #define WM01_DEFAULT_BAUD_RATE 115200 @@ -51,7 +50,6 @@ #define devlog(f_, ...) if(CATM1_DEVICE_DEBUG == DEBUG_ENABLE) { pc.printf("\r\n[%s] ", DEVNAME); pc.printf((f_), ##__VA_ARGS__); } #define myprintf(f_, ...) {pc.printf("\r\n[MAIN] "); pc.printf((f_), ##__VA_ARGS__);} -#define pingprintf(f_, ...) {pc.printf((f_), ##__VA_ARGS__);} /* Pin configuraiton */ // Cat.M1 @@ -341,7 +339,7 @@ while(t.read_ms() < ((1000 * pingnum) + 2000)) { - pingprintf("%c", _parser->getc()); + pc.printf("%c", _parser->getc()); } }