From 75fe5b747c22af9d74442d298acd3fa7eda5901e Mon Sep 17 00:00:00 2001 From: Frank <91616163+softhack007@users.noreply.github.com> Date: Mon, 12 Jan 2026 18:20:27 +0100 Subject: [PATCH] removing a flicker-protection delay this is not necessary if we use the RMTHI flicker-free driver --- wled00/bus_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wled00/bus_manager.cpp b/wled00/bus_manager.cpp index 8d4a6f01..e8b2b40b 100644 --- a/wled00/bus_manager.cpp +++ b/wled00/bus_manager.cpp @@ -1316,7 +1316,7 @@ void BusManager::removeAll() { void __attribute__((hot)) BusManager::show() { for (unsigned i = 0; i < numBusses; i++) { -#if 1 && defined(ARDUINO_ARCH_ESP32) +#if defined(ARDUINO_ARCH_ESP32) & defined(WLEDMM_FILEWAIT) // only if we don't have the flicker-free RMTHI driver unsigned long t0 = millis(); while ((busses[i]->canShow() == false) && (millis() - t0 < 80)) delay(1); // WLEDMM experimental: wait until bus driver is ready (max 80ms) - costs us 1-2 fps but reduces flickering #endif