Fixed /json/cfg unable to set busses (fixes #2589)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user