Skip to content

Commit

Permalink
Fix for incorrectly placed release JSON buffer.
Browse files Browse the repository at this point in the history
  • Loading branch information
blazoncek committed Dec 10, 2021
1 parent 094bdb2 commit 5dbc45e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wled00/set.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -511,9 +511,9 @@ void handleSettingsSet(AsyncWebServerRequest *request, byte subPage)
}
}
usermods.readFromConfig(um); // force change of usermod parameters
}

releaseJSONBufferLock();
releaseJSONBufferLock();
}

if (subPage != 2 && (subPage != 6 || !doReboot)) serializeConfig(); //do not save if factory reset or LED settings (which are saved after LED re-init)
if (subPage == 4) alexaInit();
Expand Down

0 comments on commit 5dbc45e

Please sign in to comment.