diff options
author | Meir Armon <meirarmon@gmail.com> | 2025-05-29 20:12:35 +0300 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-06-16 14:16:16 +1000 |
commit | cb315bb8e4d267eddb550ab71d17015eb6b5586c (patch) | |
tree | f7e77ab41a77e6a1dc9e75a3c9352ccf0f73a3f7 /docs/library | |
parent | 5ff2ae5a6c955a5123082ba441ad57fe4908b690 (diff) |
esp32/modesp32: Make wake_on_touch available only on SoCs supporting it.
The `esp32.wake_on_touch()` method should only be available on boards that
have SOC_TOUCH_SENSOR_SUPPORTED=y. And update docs to reflect this.
Signed-off-by: Meir Armon <meirarmon@gmail.com>
Diffstat (limited to 'docs/library')
-rw-r--r-- | docs/library/esp32.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/library/esp32.rst b/docs/library/esp32.rst index aeba3d603..8a849adfc 100644 --- a/docs/library/esp32.rst +++ b/docs/library/esp32.rst @@ -18,6 +18,8 @@ Functions Configure whether or not a touch will wake the device from sleep. *wake* should be a boolean value. + .. note:: This is only available for boards that have touch sensor support. + .. function:: wake_on_ulp(wake) Configure whether or not the Ultra-Low-Power co-processor can wake the |