diff --git a/wled00/bus_wrapper.h b/wled00/bus_wrapper.h index 72b4435e5b..8343a7c2ba 100644 --- a/wled00/bus_wrapper.h +++ b/wled00/bus_wrapper.h @@ -1190,7 +1190,8 @@ class PolyBus { #else // standard ESP32 has 8 RMT and 2 I2S channels if (num > 9) return I_NONE; - if (num > 7) offset = num -7; + if (num == 8) offset = 2; // first use I2S#1 (so #0 stays available for audio) + if (num == 9) offset = 1; // use I2S#0 as the last driver #endif switch (busType) { case TYPE_WS2812_1CH_X3: diff --git a/wled00/const.h b/wled00/const.h index 6ee8345182..88cba645fd 100644 --- a/wled00/const.h +++ b/wled00/const.h @@ -44,8 +44,8 @@ #define WLED_MIN_VIRTUAL_BUSSES 4 #else #if defined(USERMOD_AUDIOREACTIVE) // requested by @softhack007 https://github.com/blazoncek/WLED/issues/33 - #define WLED_MAX_BUSSES 8 - #define WLED_MIN_VIRTUAL_BUSSES 2 + #define WLED_MAX_BUSSES 9 + #define WLED_MIN_VIRTUAL_BUSSES 1 #else #define WLED_MAX_BUSSES 10 #define WLED_MIN_VIRTUAL_BUSSES 0