feat: NTP time sync writing to DS3231 (by IP, DNS-independent)

This LAN's router does not resolve external hostnames, so NTP uses
hard-coded Cloudflare/Google anycast IPs instead of names.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
oskarvitaliiandClaude Opus 4.8 committed 2026-07-17 21:05:29 +07:00
1 parent cb3a06382e
commit ea0256a5b9
4 files changed
+28 -1

No files matched your search

+1
View File
@@ -11,3 +11,4 @@ bool rtcLostPower();
RtcTime rtcNow();
void rtcSet(const RtcTime& t);
uint32_t rtcEpoch();
bool ntpSync(int tzOffsetMin); // true if synced and RTC updated