Add LED effect when retrying time synchronization

This commit is contained in:
Djuri 2024-12-31 11:51:34 +01:00
parent aea69d54b6
commit b8428e1650
3 changed files with 28 additions and 4 deletions

View file

@ -279,6 +279,7 @@ void syncTime()
while (!getLocalTime(&timeinfo))
{
queueLedEffect(LED_EFFECT_CONFIGURING);
configTime(preferences.getInt("gmtOffset", DEFAULT_TIME_OFFSET_SECONDS), 0,
NTP_SERVER);
delay(500);