Nonsense fix.

This commit is contained in:
Blaz Kristan 2021-10-06 19:52:21 +02:00
parent 02fcccc8c7
commit 19310470b6
2 changed files with 3 additions and 1 deletions

View File

@ -652,7 +652,7 @@ bool handleSet(AsyncWebServerRequest *request, const String& req, bool apply)
byte presetCycleMin = 1;
byte presetCycleMax = 5;
byte presetCycCurr;
pos = req.indexOf(F("P1=")); //sets first preset for cycle
if (pos > 0) presetCycleMin = getNumVal(&req, pos);

View File

@ -514,6 +514,8 @@ WLED_GLOBAL bool blynkEnabled _INIT(false);
//playlists
WLED_GLOBAL byte currentPlaylist _INIT(0);
//still used for "PL=~" HTTP API command
WLED_GLOBAL byte presetCycCurr _INIT(0);
// realtime
WLED_GLOBAL byte realtimeMode _INIT(REALTIME_MODE_INACTIVE);