This commit is contained in:
2026-02-15 17:47:11 -08:00
parent bfa8592eec
commit ef13cf3c8c

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;