kopia lustrzana https://github.com/Aircoookie/WLED
Unload playlist on PL=
rodzic
33036e7599
commit
f7404085de
|
@ -666,6 +666,7 @@ bool handleSet(AsyncWebServerRequest *request, const String& req, bool apply)
|
||||||
|
|
||||||
//apply preset
|
//apply preset
|
||||||
if (updateVal(&req, "PL=", &presetCycCurr, presetCycMin, presetCycMax)) {
|
if (updateVal(&req, "PL=", &presetCycCurr, presetCycMin, presetCycMax)) {
|
||||||
|
unloadPlaylist();
|
||||||
applyPreset(presetCycCurr);
|
applyPreset(presetCycCurr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue