Nonsense fix.
This commit is contained in:
parent
02fcccc8c7
commit
19310470b6
@ -652,7 +652,7 @@ bool handleSet(AsyncWebServerRequest *request, const String& req, bool apply)
|
|||||||
|
|
||||||
byte presetCycleMin = 1;
|
byte presetCycleMin = 1;
|
||||||
byte presetCycleMax = 5;
|
byte presetCycleMax = 5;
|
||||||
byte presetCycCurr;
|
|
||||||
pos = req.indexOf(F("P1=")); //sets first preset for cycle
|
pos = req.indexOf(F("P1=")); //sets first preset for cycle
|
||||||
if (pos > 0) presetCycleMin = getNumVal(&req, pos);
|
if (pos > 0) presetCycleMin = getNumVal(&req, pos);
|
||||||
|
|
||||||
|
@ -514,6 +514,8 @@ WLED_GLOBAL bool blynkEnabled _INIT(false);
|
|||||||
|
|
||||||
//playlists
|
//playlists
|
||||||
WLED_GLOBAL byte currentPlaylist _INIT(0);
|
WLED_GLOBAL byte currentPlaylist _INIT(0);
|
||||||
|
//still used for "PL=~" HTTP API command
|
||||||
|
WLED_GLOBAL byte presetCycCurr _INIT(0);
|
||||||
|
|
||||||
// realtime
|
// realtime
|
||||||
WLED_GLOBAL byte realtimeMode _INIT(REALTIME_MODE_INACTIVE);
|
WLED_GLOBAL byte realtimeMode _INIT(REALTIME_MODE_INACTIVE);
|
||||||
|
Loading…
Reference in New Issue
Block a user