kopia lustrzana https://github.com/Aircoookie/WLED
rodzic
0cfda55b3a
commit
71d84fecba
|
|
@ -947,11 +947,13 @@ bool handleSet(AsyncWebServerRequest *request, const String& req, bool apply)
|
|||
} else {
|
||||
nightlightActive = true;
|
||||
if (!aNlDef) nightlightDelayMins = getNumVal(&req, pos);
|
||||
else nightlightDelayMins = nightlightDelayMinsDefault;
|
||||
nightlightStartTime = millis();
|
||||
}
|
||||
} else if (aNlDef)
|
||||
{
|
||||
nightlightActive = true;
|
||||
nightlightDelayMins = nightlightDelayMinsDefault;
|
||||
nightlightStartTime = millis();
|
||||
}
|
||||
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue