Backing up an unused program in case of future need

Dependencies:   mbed

Revision:
2:06fa34661f19
Parent:
0:09f915e6f9f6
Child:
4:e076884ef8bd
diff -r 94282484baae -r 06fa34661f19 ntp.cpp
--- a/ntp.cpp	Fri Apr 15 09:03:54 2016 +0000
+++ b/ntp.cpp	Fri Apr 22 09:23:57 2016 +0000
@@ -5,6 +5,7 @@
 #include "time.h"
 #include   "io.h"
 #include   "at.h"
+#include  "cfg.h"
 
 #define GET_TIME_INTERVAL  600
 #define    RETRY_INTERVAL   60
@@ -170,7 +171,7 @@
     }
     else
     {
-        AtConnectId(ID, "UDP", "192.168.1.3", 123, &packet, sizeof(packet), &NtpIdConnectStatus);
+        AtConnectId(ID, "UDP", CfgNtpIp, 123, &packet, sizeof(packet), &NtpIdConnectStatus);
     }
 }
 static void incomingMain()