Skip to content

Commit 97e7776

Browse files
committed
esp32/modmachine.c: enabled wake-on-touch option, since now supported
1 parent 65017d5 commit 97e7776

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

esp32/modmachine.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,7 @@ STATIC mp_obj_t machine_deepsleep(size_t n_args, const mp_obj_t *pos_args, mp_ma
9696
}
9797

9898
if (machine_rtc_config.wake_on_touch) {
99-
esp_deep_sleep_enable_touchpad_wakeup();
100-
nlr_raise(mp_obj_new_exception_msg(&mp_type_RuntimeError, "touchpad wakeup not available for this version of ESP-IDF"));
99+
esp_deep_sleep_enable_touchpad_wakeup();
101100
}
102101

103102
esp_deep_sleep_start();

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy