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:
@@ -30,5 +30,5 @@ static const float DEFAULT_LAT = 54.9870f;
|
||||
static const float DEFAULT_LON = 82.8730f;
|
||||
|
||||
// ---- Network ----
|
||||
#define NTP_SERVER "pool.ntp.org"
|
||||
// NTP is done by hard-coded IP in rtc_time.cpp (this LAN's DNS is unreliable).
|
||||
#define AP_NAME "WeatherPredictor-Setup"
|
||||
|
||||
Reference in New Issue
Block a user