NTPClient with change of NTP_OK position in NTPClient.h enumerator.
Fork of NTPClient by
Revision 5:d1731d3f324b, committed 2016-08-09
- Comitter:
- rebonatto
- Date:
- Tue Aug 09 14:38:35 2016 +0000
- Parent:
- 4:881559865a93
- Commit message:
- Fixed NTPResult
Changed in this revision
NTPClient.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 881559865a93 -r d1731d3f324b NTPClient.h --- a/NTPClient.h Sun Aug 05 16:10:57 2012 +0000 +++ b/NTPClient.h Tue Aug 09 14:38:35 2016 +0000 @@ -38,11 +38,11 @@ ///NTP client results enum NTPResult { + NTP_OK = 0, ///<Success NTP_DNS, ///<Could not resolve name NTP_PRTCL, ///<Protocol error NTP_TIMEOUT, ///<Connection timeout NTP_CONN, ///<Connection error - NTP_OK = 0, ///<Success }; /** NTP Client to update the mbed's RTC using a remote time server