diff --git a/CHANGELOG.md b/CHANGELOG.md index 277e197e5..21dc9df14 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ All notable changes to this project will be documented in this file. - ESP32-S3 UART output mode for Tx (#22426) - Mitsubishi Electric HVAC Standby Stage for MiElHVAC (#22430) - FUNC_COMMAND linked list command buffer corruption by shutter driver +- ESP32, ESP32-S2 and ESP32-S3 re-enable touch buttons (#22446) ### Removed diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 6384dfd72..8f79ce8f1 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -163,6 +163,7 @@ The latter links can be used for OTA upgrades too like ``OtaUrl https://ota.tasm - EQ3 TRV firmware version 1.46 fails if the default true is used in subscribe on the notify characteristic [#22328](https://github.com/arendst/Tasmota/issues/22328) - Ethernet on -DFRAMEWORK_ARDUINO_ITEAD framework regression from v14.3.0 [#22367](https://github.com/arendst/Tasmota/issues/22367) - ESP32 Arduino Core IPv6 zones used by Matter [#22378](https://github.com/arendst/Tasmota/issues/22378) +- ESP32, ESP32-S2 and ESP32-S3 re-enable touch buttons [#22446](https://github.com/arendst/Tasmota/issues/22446) - ESP32-S3 UART output mode for Tx [#22426](https://github.com/arendst/Tasmota/issues/22426) ### Removed diff --git a/tasmota/include/tasmota.h b/tasmota/include/tasmota.h index 627596474..ca775b88e 100644 --- a/tasmota/include/tasmota.h +++ b/tasmota/include/tasmota.h @@ -336,6 +336,14 @@ const uint32_t LOOP_SLEEP_DELAY = 50; // Lowest number of milliseconds to #define WIFI_SENSITIVITY_n -720 #endif +#ifdef ESP32 +#if SOC_TOUCH_SENSOR_VERSION == 1 // ESP32 +#define SOC_TOUCH_VERSION_1 +#elif SOC_TOUCH_SENSOR_VERSION == 2 // ESP32S2, ESP32S3 +#define SOC_TOUCH_VERSION_2 +#endif // SOC_TOUCH_SENSOR_VERSION +#endif // ESP32 + /*********************************************************************************************\ * Enumeration \*********************************************************************************************/