From c617584f0bdc3c29a5d259ba58b97fad7c08445d Mon Sep 17 00:00:00 2001 From: Frank <91616163+softhack007@users.noreply.github.com> Date: Wed, 5 Jun 2024 13:28:36 +0200 Subject: [PATCH] bugfix for -S3: allow to use pin 48 for LEDs needed on boards like "S3 supermini" with ws2812 on gpio48 --- wled00/xml.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wled00/xml.cpp b/wled00/xml.cpp index 0c6a1566..72fdf219 100644 --- a/wled00/xml.cpp +++ b/wled00/xml.cpp @@ -269,9 +269,9 @@ void appendGPIOinfo() { // add info about max. # of pins oappend(SET_F("d.max_gpio=")); - #if defined(ESP32) + #if defined(ESP32) && !defined(CONFIG_IDF_TARGET_ESP32S3) oappendi(NUM_DIGITAL_PINS - 1); - #else //8266 + #else //8266 (max=17), or esp32-S3 (max=48) oappendi(NUM_DIGITAL_PINS); //WLEDMM include pin 17 for Analog #endif oappend(SET_F(";"));