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.
Fork of NTPClient by
Diff: NTPClient.h
- Revision:
- 5:fe36718063a5
- Parent:
- 2:9a64a50df235
- Child:
- 6:510bffa8b3d9
diff -r 881559865a93 -r fe36718063a5 NTPClient.h
--- a/NTPClient.h Sun Aug 05 16:10:57 2012 +0000
+++ b/NTPClient.h Wed Dec 14 16:23:38 2016 +0000
@@ -54,8 +54,8 @@
/**
Instantiate the NTP client
*/
- NTPClient();
-
+ // NTPClient();
+ NTPClient::NTPClient(NetworkStack & _m_intf);
/**Get current time (blocking)
Update the time using the server host
Blocks until completion
@@ -94,8 +94,8 @@
uint32_t txTm_f;
} __attribute__ ((packed));
+ NetworkStack & m_intf; // WiFi interface
UDPSocket m_sock;
-
};
