fixed touch buttons for ESP32 S2 and S3

touch is implemented differently on S2 and S3, these changes make touch buttons work on S2 and S3
This commit is contained in:
Damian Schneider
2024-02-18 15:52:36 +01:00
parent d937d473f9
commit c8f48168b4
3 changed files with 35 additions and 6 deletions

View File

@@ -20,6 +20,7 @@ void doublePressAction(uint8_t b=0);
bool isButtonPressed(uint8_t b=0);
void handleButton();
void handleIO();
void IRAM_ATTR touchButtonISR();
//cfg.cpp
bool deserializeConfig(JsonObject doc, bool fromFS = false);