diff --git a/tasmota/xsns_127_esp32_sensors.ino b/tasmota/xsns_127_esp32_sensors.ino index 779e24e95..5b6ff3e69 100644 --- a/tasmota/xsns_127_esp32_sensors.ino +++ b/tasmota/xsns_127_esp32_sensors.ino @@ -18,6 +18,7 @@ */ #ifdef ESP32 +#ifndef CONFIG_IDF_TARGET_ESP32S3 /*********************************************************************************************\ * ESP32 CPU Temperature and optional Hall Effect sensor * @@ -138,4 +139,5 @@ bool Xsns127(uint8_t function) { return result; } +#endif // Not CONFIG_IDF_TARGET_ESP32S3 #endif // ESP32