ntp demo for cc3000
Dependencies: NVIC_set_all_priorities NTPClient cc3000_hostdriver_mbedsocket mbed
Diff: main.cpp
- Revision:
- 1:fd70c76e74b2
- Parent:
- 0:606d6c8dcb58
- Child:
- 2:f163731f852a
diff -r 606d6c8dcb58 -r fd70c76e74b2 main.cpp
--- a/main.cpp Thu Sep 19 08:05:22 2013 +0000
+++ b/main.cpp Tue Oct 01 04:48:37 2013 +0000
@@ -155,7 +155,7 @@
}
printf("Getting time, 10s timeout.\n");
- if (ntp.setTime("0.pool.ntp.org",10000) == 0)
+ if (ntp.setTime("0.uk.pool.ntp.org") == 0)
{
printf("Set time successfully\r\n");
time_t ctTime;