fix(touch): enable touch deep sleep on esp32-s31

This commit is contained in:
Hu Rui
2026-06-12 18:05:25 +08:00
parent 9a5be18e1f
commit ef674eddd3
4 changed files with 0 additions and 17 deletions
@@ -446,12 +446,6 @@ Call :cpp:func:`touch_channel_read_data` to read the data with different types.
// Register the deep sleep wake-up
ESP_ERROR_CHECK(touch_sensor_config_sleep_wakeup(sens_handle, &deep_slp_cfg));
.. only:: esp32s31
.. note::
ESP32-S31 touch sensor wake-up from deep sleep may fail in some cases. Increasing ``meas_interval_us`` in :cpp:type:`touch_sensor_config_t` can help mitigate this issue.
.. only:: SOC_TOUCH_SUPPORT_DENOISE_CHAN
.. _touch-denoise-chan:
@@ -446,12 +446,6 @@
// 注册 Deep-sleep 唤醒功能
ESP_ERROR_CHECK(touch_sensor_config_sleep_wakeup(sens_handle, &deep_slp_cfg));
.. only:: esp32s31
.. note::
ESP32-S31 触摸传感器从 Deep-sleep 唤醒在部分场景下可能失败。增大 :cpp:type:`touch_sensor_config_t` 中的 ``meas_interval_us`` 可缓解该问题。
.. only:: SOC_TOUCH_SUPPORT_DENOISE_CHAN
.. _touch-denoise-chan: