A stack which works with or without an Mbed os library. Provides IPv4 or IPv6 with a full 1500 byte buffer.
Dependents: oldheating gps motorhome heating
Diff: udp/ntp/ntpclientquery.c
- Revision:
- 132:db2174b36a6d
- Parent:
- 128:79052cb4a41c
- Child:
- 133:a37eb35a03f1
--- a/udp/ntp/ntpclientquery.c Tue Mar 19 12:12:26 2019 +0000 +++ b/udp/ntp/ntpclientquery.c Wed Mar 20 10:55:30 2019 +0000 @@ -42,7 +42,7 @@ case NTP_QUERY_INTERVAL_NORMAL: interval = NtpClientQueryNormalInterval; break; case NTP_QUERY_INTERVAL_RETRY: interval = NtpClientQueryRetryInterval; break; } - return MsTimerHasElapsed(startNtpMs, interval * 1000); + return MsTimerInterval(startNtpMs, interval * 1000); } void NtpClientQueryStartInterval(int type) {