Update set.cpp

reworked based on feedback
This commit is contained in:
freakintoddles2 2024-05-01 10:04:02 -07:00 committed by GitHub
parent a2b9aed40d
commit e88c81ad0d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -902,7 +902,7 @@ bool handleSet(AsyncWebServerRequest *request, const String& req, bool apply)
}
pos = req.indexOf(F("NP")); //skips to next preset in a playlist
if (pos > 0) handlePlaylist(true);
if (pos > 0) doAdvancePlaylist = true;
//set brightness
updateVal(req.c_str(), "&A=", &bri);