]> granicus.if.org Git - esp-idf/commit
esp32: Deactivate wakeup trigger after first wakeup
authorAlex Lisitsyn <aleks@espressif.com>
Tue, 20 Mar 2018 09:58:43 +0000 (14:58 +0500)
committerAlex Lisitsyn <aleks@espressif.com>
Tue, 20 Mar 2018 09:58:43 +0000 (14:58 +0500)
commitd91e2703f484f1c8b57852c71e69c3f5f2f60e15
tree49b72c06fd606b98f3bab8632786133b25ffb5d2
parent1e9bb5bb7c9694eb2f29d5d7adad1652edefd392
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 https://github.com/espressif/esp-idf/issues/1677
docs/api-reference/system/sleep_modes.rst