From f2cbf0cc507a3b2297f9752319c516cc9f8f278f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20M=C3=B6hle?= <91616163+softhack007@users.noreply.github.com> Date: Thu, 12 Feb 2026 18:10:40 +0100 Subject: [PATCH] Add channel parameter to ledcAttach function keep same behaviour as in previous V4 code --- 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 a348b12f7..80ecb5aed 100644 --- a/wled00/bus_manager.cpp +++ b/wled00/bus_manager.cpp @@ -418,7 +418,7 @@ BusPwm::BusPwm(const BusConfig &bc) ledcSetup(channel, _frequency, _depth - (dithering*4)); // with dithering _frequency doesn't really matter as resolution is 8 bit ledcAttachPin(_pins[i], channel); #else - ledcAttach(_pins[i], _frequency, _depth - (dithering*4)); + ledcAttach(_pins[i], _frequency, _depth - (dithering*4), channel); // LEDC timer reset credit @dedehai #endif // LEDC timer reset credit @dedehai