Fork of NTPClient from ST, modified to work with GCC and Mbed OS5
Fork of NTPClient by
Diff: NTPClient.h
- Revision:
- 5:fe36718063a5
- Parent:
- 2:9a64a50df235
- Child:
- 6:510bffa8b3d9
--- 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;
-
};
