Add LED effect when retrying time synchronization
This commit is contained in:
parent
aea69d54b6
commit
b8428e1650
3 changed files with 28 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue