Revert "touch_sensor: forbid from using touch sensor with sleep on ESP32-S3"

This reverts commit a84faa3cef.
This commit is contained in:
Michael (XIAO Xufeng)
2022-06-08 02:20:56 +08:00
parent 2c1f7a044e
commit 069ef38ff6
3 changed files with 1 additions and 14 deletions

View File

@@ -248,10 +248,6 @@ esp_err_t touch_pad_config(touch_pad_t touch_num)
esp_err_t touch_pad_init(void)
{
//TODO: IDF-4813
extern bool esp_no_sleep;
esp_no_sleep = true;
if (rtc_touch_mux == NULL) {
rtc_touch_mux = xSemaphoreCreateMutex();
}