Set parallel I2S on by default

This commit is contained in:
Blaž Kristan 2025-07-26 20:47:15 +02:00
parent 6fa2f4893d
commit b27541e3e4
2 changed files with 2 additions and 2 deletions

View File

@ -1217,7 +1217,7 @@ void WS2812FX::finalizeInit() {
}
DEBUG_PRINTF_P(PSTR("Maximum LEDs on a bus: %u\nDigital buses: %u\n"), maxLedsOnBus, digitalCount);
// we may remove 600 LEDs per bus limit when NeoPixelBus is updated beyond 2.8.3
if (maxLedsOnBus <= 600 && useParallelI2S) BusManager::useParallelOutput(); // must call before creating buses
if (digitalCount > 1 && maxLedsOnBus <= 600 && useParallelI2S) BusManager::useParallelOutput(); // must call before creating buses
else useParallelI2S = false; // enforce single I2S
digitalCount = 0;
#endif

View File

@ -395,7 +395,7 @@ WLED_GLOBAL bool useGlobalLedBuffer _INIT(false); // double buffering disabled o
#else
WLED_GLOBAL bool useGlobalLedBuffer _INIT(true); // double buffering enabled on ESP32
#ifndef CONFIG_IDF_TARGET_ESP32C3
WLED_GLOBAL bool useParallelI2S _INIT(false); // parallel I2S for ESP32
WLED_GLOBAL bool useParallelI2S _INIT(true); // parallel I2S for ESP32
#endif
#endif
#ifdef WLED_USE_IC_CCT