minor refactor

This commit is contained in:
proddy
2019-04-05 18:14:16 +02:00
parent 2fa258ccb0
commit 53a4106dff
3 changed files with 2 additions and 42 deletions

View File

@@ -828,9 +828,9 @@ void _showerColdShotStart() {
// callback for loading/saving settings to the file system (SPIFFS)
bool FSCallback(MYESP_FSACTION action, const JsonObject json) {
bool recreate_config = true;
if (action == MYESP_FSACTION_LOAD) {
bool recreate_config = true;
// led
EMSESP_Status.led = json["led"];