This commit is contained in:
2026-02-15 17:47:11 -08:00
parent 9b9fb6dfb2
commit 3ca9465075

View File

@@ -54,9 +54,9 @@ private:
String _pendStatusState;
String _pendStatusMsg;
// NTP
// NTP — pointer because NTPClient has no default constructor
WiFiUDP _ntpUDP;
NTPClient _timeClient = nullptr;
NTPClient* _timeClient = nullptr;
bool _ntpSynced = false;
time_t _lastEpoch = 0;