Skip to content

Commit d91e270

Browse files
committed
esp32: Deactivate wakeup trigger after first wakeup
The files updated according to code review discussions. In the sleep_modes.c removed immidiate disable of ULP mode and leave just trigger deactivation. The esp_sleep.h is updated to have the same defines for source as esp_sleep_wakeup_cause_t. Updated documentation in sleep_modes.rst file to include cross references and address esp_sleep_wakeup_cause_t type. Some minor changes in test_sleep.c unit test. (TW#18952) Closes #1677
1 parent 1e9bb5b commit d91e270

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api-reference/system/sleep_modes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ Checking sleep wakeup cause
142142
The following function can be used to check which wakeup source has triggered wakeup from sleep mode. For touch pad and ext1 wakeup sources, it is possible to identify pin or touch pad which has caused wakeup.
143143

144144
.. doxygenfunction:: esp_sleep_get_wakeup_cause
145-
.. doxygenenum:: esp_sleep_wakeup_cause_t
145+
.. doxygentypedef:: esp_sleep_wakeup_cause_t
146146
.. doxygenfunction:: esp_sleep_get_touchpad_wakeup_status
147147
.. doxygenfunction:: esp_sleep_get_ext1_wakeup_status
148148

0 commit comments

Comments
 (0)