diff --git a/tasmota/tasmota_support/support.ino b/tasmota/tasmota_support/support.ino index 6790b7090..361e4c425 100755 --- a/tasmota/tasmota_support/support.ino +++ b/tasmota/tasmota_support/support.ino @@ -1716,17 +1716,7 @@ uint32_t ValidPin(uint32_t pin, uint32_t gpio, uint8_t isTuya = false) { return GPIO_NONE; // Disable flash pins GPIO6, GPIO7, GPIO8 and GPIO11 } -#if CONFIG_IDF_TARGET_ESP32C2 -// ignore -#elif CONFIG_IDF_TARGET_ESP32C3 -// ignore -#elif CONFIG_IDF_TARGET_ESP32C6 -// ignore -#elif CONFIG_IDF_TARGET_ESP32S2 -// ignore -#elif CONFIG_IDF_TARGET_ESP32 -// ignore -#else // not ESP32C3 and not ESP32S2 +#ifdef ESP8266 if (((WEMOS == Settings->module) || isTuya) && !Settings->flag3.user_esp8285_enable) { // SetOption51 - Enable ESP8285 user GPIO's if ((9 == pin) || (10 == pin)) { return GPIO_NONE; // Disable possible flash GPIO9 and GPIO10