From 9035aace06f22e870f168d97674946fbc96fd031 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Mon, 5 Apr 2021 16:58:36 +0200 Subject: [PATCH] Halleffect not for ESP32-S2 --- tasmota/xsns_87_esp32_halleffect.ino | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasmota/xsns_87_esp32_halleffect.ino b/tasmota/xsns_87_esp32_halleffect.ino index 01d28fed6..07fdad4bb 100644 --- a/tasmota/xsns_87_esp32_halleffect.ino +++ b/tasmota/xsns_87_esp32_halleffect.ino @@ -18,6 +18,7 @@ */ #ifdef ESP32 +#if CONFIG_IDF_TARGET_ESP32 #ifdef USE_HALLEFFECT /*********************************************************************************************\ * ESP32 internal Hall Effect sensor connected to both GPIO36 and GPIO39 @@ -96,4 +97,5 @@ bool Xsns87(uint8_t function) { } #endif // USE_HALLEFFECT +#endif // CONFIG_IDF_TARGET_ESP32 #endif // ESP32