diff --git a/wled00/bus_wrapper.h b/wled00/bus_wrapper.h index 5ed53e556..a71d951f5 100644 --- a/wled00/bus_wrapper.h +++ b/wled00/bus_wrapper.h @@ -852,8 +852,9 @@ class PolyBus { if (pins[0] == P_8266_HS_MOSI && pins[1] == P_8266_HS_CLK) isHSPI = true; #else // temporary hack to limit use of hardware SPI to a single SPI peripheral: only allow ESP32 hardware serial on segment 0 - if (num==0 && pins[0] == P_32_VS_MOSI && pins[1] == P_32_VS_CLK) isHSPI = true; - if (num==1 && pins[0] == P_32_HS_MOSI && pins[1] == P_32_HS_CLK) isHSPI = true; + if (!num) isHSPI = true; + //if (num==0 && pins[0] == P_32_VS_MOSI && pins[1] == P_32_VS_CLK) isHSPI = true; // no nultiplexing, up to 80MHz clock + //if (num==1 && pins[0] == P_32_HS_MOSI && pins[1] == P_32_HS_CLK) isHSPI = true; #endif uint8_t t = I_NONE; switch (busType) { diff --git a/wled00/wled.h b/wled00/wled.h index 7409424ac..03d0bea42 100644 --- a/wled00/wled.h +++ b/wled00/wled.h @@ -8,7 +8,7 @@ */ // version code in format yymmddb (b = daily build) -#define VERSION 2103282 +#define VERSION 2103290 //uncomment this if you have a "my_config.h" file you'd like to use //#define WLED_USE_MY_CONFIG