mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 20:41:14 +00:00
touch_sensor: forbid from using touch sensor with sleep on ESP32-S3
This is not supported yet.
This commit is contained in:
@@ -248,6 +248,10 @@ 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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user