From 287c0f5df494f7f36dbf59d25a9efff9ef358a56 Mon Sep 17 00:00:00 2001 From: Frank Date: Sun, 18 Feb 2024 16:58:13 +0100 Subject: [PATCH] fastpath: use I2S driver for second bus some user reported that this reduces random LEDs flickering --- wled00/bus_wrapper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wled00/bus_wrapper.h b/wled00/bus_wrapper.h index a5b9d7a7..5e41f263 100644 --- a/wled00/bus_wrapper.h +++ b/wled00/bus_wrapper.h @@ -1185,7 +1185,7 @@ class PolyBus { #else // ESP32 "audio_fastpath" - 8 RMT and 1 I2S channels. RMT 5-8 have sending delays, so use I2S#1 before going for RMT 5-8 if (num > 8) return I_NONE; - if (num == 2) offset = 2; // use I2S#1 as 3rd bus - seems to be a good compromise for performance + if (num == 1) offset = 2; // use I2S#1 as 2nd bus - seems to be a good compromise for performance, and reduces flickering for some users //if (num == 0) offset = 2; // un-comment to use I2S#1 as 1st bus - sometimes helps, if you experience flickering during Wifi or filesystem activity. #endif #endif