mirror of
https://github.com/wled/WLED.git
synced 2025-04-23 22:37:18 +00:00
Remove check for strip
This commit is contained in:
parent
f414af4d82
commit
b3a768a04b
@ -26,7 +26,7 @@ static void doSaveState() {
|
||||
|
||||
unsigned long start = millis();
|
||||
while (strip.isUpdating() && millis()-start < (2*FRAMETIME_FIXED)+1) yield(); // wait 2 frames
|
||||
if (strip.isUpdating() || !requestJSONBufferLock(10)) return; // will set fileDoc
|
||||
if (!requestJSONBufferLock(10)) return; // will set fileDoc
|
||||
|
||||
initPresetsFile(); // just in case if someone deleted presets.json using /edit
|
||||
JsonObject sObj = doc.to<JsonObject>();
|
||||
|
Loading…
x
Reference in New Issue
Block a user