Giung Kim
/
WIZnet-IoTShield-WM-N400MSE-Ping
Init project for Ping
Diff: main.cpp
- Revision:
- 3:574affd4cf9f
- Parent:
- 2:74f027438e00
--- 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()); } }