partly disable waitUntilIdle() as its still work-in-progress
This disables parts of the new feature that might lead to delays, so basicially there is some detection, but no protection any more. further development needed --> audio_fastpath branch compile with -D WLEDMM_PROTECT_SERVICE to enable full protection.
This commit is contained in:
@@ -95,9 +95,9 @@ bool deserializeConfig(JsonObject doc, bool fromFS) {
|
||||
#ifdef ARDUINO_ARCH_ESP32
|
||||
if (strip.isServicing() && (strncmp(pcTaskGetTaskName(NULL), "loopTask", 8) != 0)) { // if we are in looptask (arduino loop), its safe to proceed without waiting
|
||||
if (fromFS) {
|
||||
USER_PRINTLN(F("deserializeConfig(fromFS): strip is still drawing effects, waiting ..."));
|
||||
USER_PRINTLN(F("deserializeConfig(fromFS): strip is still drawing effects."));
|
||||
} else {
|
||||
USER_PRINTLN(F("deserializeConfig(): strip is still drawing effects, waiting ..."));
|
||||
USER_PRINTLN(F("deserializeConfig(): strip is still drawing effects."));
|
||||
}
|
||||
strip.waitUntilIdle();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user