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