From b27541e3e4fe7c8ac98f53a0692b97780abfc847 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Kristan?= Date: Sat, 26 Jul 2025 20:47:15 +0200 Subject: [PATCH] Set parallel I2S on by default --- wled00/FX_fcn.cpp | 2 +- wled00/wled.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wled00/FX_fcn.cpp b/wled00/FX_fcn.cpp index 027c6aaa1..7f10b3848 100644 --- a/wled00/FX_fcn.cpp +++ b/wled00/FX_fcn.cpp @@ -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 diff --git a/wled00/wled.h b/wled00/wled.h index 9459080e8..58e962f3f 100644 --- a/wled00/wled.h +++ b/wled00/wled.h @@ -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