Fix ESP32, ESP32-S2 and ESP32-S3 re-enable touch buttons (#22446)

This commit is contained in:
Theo Arends 2024-11-09 15:24:40 +01:00
parent a836e841ad
commit 3bc90175db
3 changed files with 10 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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
\*********************************************************************************************/