From f726c904ab0b9c630460b39fed14c887689fb229 Mon Sep 17 00:00:00 2001
From: Theo Arends <11044339+arendst@users.noreply.github.com>
Date: Sat, 8 Jul 2023 17:21:06 +0200
Subject: [PATCH] Enable ESP32 shutter driver
Enable ESP32 shutter driver (#18295)
---
.../tasmota_xdrv_driver/xdrv_27_esp32_shutter.ino | 7 +------
tasmota/tasmota_xdrv_driver/xdrv_27_shutter.ino | 15 ---------------
2 files changed, 1 insertion(+), 21 deletions(-)
diff --git a/tasmota/tasmota_xdrv_driver/xdrv_27_esp32_shutter.ino b/tasmota/tasmota_xdrv_driver/xdrv_27_esp32_shutter.ino
index e056ce629..ca10aa92a 100644
--- a/tasmota/tasmota_xdrv_driver/xdrv_27_esp32_shutter.ino
+++ b/tasmota/tasmota_xdrv_driver/xdrv_27_esp32_shutter.ino
@@ -17,12 +17,7 @@
along with this program. If not, see .
*/
-// Start temporarly extra tests for overriding USE_SHUTTER_ESP32 ****
-// Remove once tests complete
-#if defined(ESP32) && defined(USE_SHUTTER_ESP32)
-// End **************************************************************
-
-//#ifdef ESP32
+#ifdef ESP32
#ifdef USE_SHUTTER
/*********************************************************************************************\
* Shutter or Blind support using two consecutive relays
diff --git a/tasmota/tasmota_xdrv_driver/xdrv_27_shutter.ino b/tasmota/tasmota_xdrv_driver/xdrv_27_shutter.ino
index 76a03da9b..f6fe28a40 100644
--- a/tasmota/tasmota_xdrv_driver/xdrv_27_shutter.ino
+++ b/tasmota/tasmota_xdrv_driver/xdrv_27_shutter.ino
@@ -17,22 +17,7 @@
along with this program. If not, see .
*/
-// Start temporarly extra tests for overriding USE_SHUTTER_ESP32 ****
-// Remove once tests complete
#ifdef ESP8266
-#define USE_SHUTTER_ESP8266
-#endif
-
-#ifdef ESP32
-#ifndef USE_SHUTTER_ESP32
-#define USE_SHUTTER_ESP8266
-#endif // No USE_SHUTTER_ESP32
-#endif // ESP32
-
-#ifdef USE_SHUTTER_ESP8266
-// End **************************************************************
-
-//#ifdef ESP8266
#ifdef USE_SHUTTER
/*********************************************************************************************\
* Shutter or Blind support using two consecutive relays