From 0de0834bb6f3b42bf235a7ef397a238ec50a188e Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Tue, 29 Jun 2021 17:38:46 +0200 Subject: [PATCH] Fix ESP32-C3 valid GPIO list --- tasmota/support.ino | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasmota/support.ino b/tasmota/support.ino index bdd9f879e..b58a04aad 100644 --- a/tasmota/support.ino +++ b/tasmota/support.ino @@ -1618,11 +1618,13 @@ uint32_t ValidPin(uint32_t pin, uint32_t gpio) { return GPIO_NONE; // Disable flash pins GPIO6, GPIO7, GPIO8 and GPIO11 } +#ifndef CONFIG_IDF_TARGET_ESP32C3 if ((WEMOS == Settings->module) && !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 } } +#endif // not ESP32C3 return gpio; }