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:
- 6:510bffa8b3d9
- Parent:
- 5:fe36718063a5
- Child:
- 7:2ac816b0f4ab
--- a/NTPClient.h Wed Dec 14 16:23:38 2016 +0000 +++ b/NTPClient.h Mon Jan 02 15:44:40 2017 +0000 @@ -64,7 +64,7 @@ @param timeout waiting timeout in ms (osWaitForever for blocking function, not recommended) @return 0 on success, NTP error code (<0) on failure */ - NTPResult setTime(const char* host, uint16_t port = NTP_DEFAULT_PORT, uint32_t timeout = NTP_DEFAULT_TIMEOUT); //Blocking + NTPResult setTime(const char* host, uint16_t port = NTP_DEFAULT_PORT, uint32_t timeout = NTP_DEFAULT_TIMEOUT); private: struct NTPPacket //See RFC 4330 for Simple NTP
