Fixed /json/cfg unable to set busses (fixes #2589)

This commit is contained in:
cschwinne
2022-03-19 14:21:14 +01:00
parent b93a9cb8bc
commit d280e16723
5 changed files with 12 additions and 4 deletions

View File

@@ -28,7 +28,7 @@ void WLED::reset()
yield(); // enough time to send response to client
}
applyBri();
DEBUG_PRINTLN(F("MODULE RESET"));
DEBUG_PRINTLN(F("WLED RESET"));
ESP.restart();
}
@@ -152,7 +152,7 @@ void WLED::loop()
yield();
if (doReboot)
if (doReboot && !doInitBusses) // if busses have to be inited & saved, wait until next iteration
reset();
if (doCloseFile) {
closeFile();