Skip to content

Commit

Permalink
Unload playlist on PL=
Browse files Browse the repository at this point in the history
  • Loading branch information
Aircoookie committed Nov 30, 2021
1 parent 33036e7 commit f740408
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wled00/set.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,7 @@ bool handleSet(AsyncWebServerRequest *request, const String& req, bool apply)

//apply preset
if (updateVal(&req, "PL=", &presetCycCurr, presetCycMin, presetCycMax)) {
unloadPlaylist();
applyPreset(presetCycCurr);
}

Expand Down

0 comments on commit f740408

Please sign in to comment.